forked from sarambl/TeXTemplate-PhD-thesis-MetOs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.tex
129 lines (118 loc) · 3.56 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
%
% Should we compile for the Iliad (ebook reader), or regular A4
%
\newif\ifcompileiliad
\compileiliadfalse %Iliad (true) or regular A4 (false)?
\newcommand{\TextSize}{13}
\newcommand{\BaseLineSkip}{15}
\newif\ifDownscaledFinalDoc
\DownscaledFinalDoctrue % Uib 13pt (true) or Regular 12pt (false)
%
% Compile draft (double line spacing)?
%
\newif\ifDraft
\Draftfalse % Draft (true) or Final (false)
% We use the book class
%
\ifcompileiliad
\documentclass[10pt]{book}
\else
\documentclass[12pt]{book}
\fi
% Include the set_up
%
% Settings file
%
\include{set_up/usepackages} % Document settings file
%
%
% Include user-defined macros
%
\include{set_up/macros}
%
% TeX is very proud of its hyphenation engine, to the point where it
% hyphenates _everything_ just to show off. Increasing penalty for
% hyphenation, and increase tolerance for underfull boxes can make
% the text easier to read, at the expense of making the text less aligned
% to the right margin
%
\hyphenpenalty=10
\tolerance=1000
% Redefine include command -> input command
%\renewcommand{\include}{\input}
% Include only these chapters
%\includeonly{introduction}
%
% Set up the frontpage, with author, title, etc
%
\title{
{\fontsize{28}{30}\usefont{OT1}{phv}{bc}{n}\selectfont
INSERT TITLE HERE}
%Improved modelling of aerosol indirect effects in earth system models}
%The winter polar middle atmosphere and its response to natural external forcing}
\author{
\textbf{INSERT NAME HERE}\vspace{3cm}\\
\includegraphics[width=50mm]{decoration/uiologo}\vspace{1em}\\
Dissertation for the degree of Philosophiae Doctor (PhD)\vspace{3.5em}\\
Section for Meteorology and Oceanography\\
Department of Geosciences \\
University of Oslo
}
\date{November 2019}
}
%====================================================
%------------------ BEGIN DOCUMENT ------------------
%====================================================
\begin{document}
%Cause all references in bibtex file to appear in the 'References' section, even
%if they are not explicitly cite'ed in the document
%\nocite{*}
%Set the fontsize and baselineskip, if something other than 10 or 12 is required
\ifDownscaledFinalDoc
\fontsize{\TextSize}{\BaseLineSkip}
\selectfont
\fi
%Double line spacing for draft
\ifDraft
\doublespacing
\fi
\setcounter{tocdepth}{1}
%--------------------------------------------------------------------------------------------------
% FRONT MATTER
%--------------------------------------------------------------------------------------------------
\maketitle
\frontmatter
\include{parts/preface}
\include{parts/acknowledgements}
\tableofcontents
%--------------------------------------------------------------------------------------------------
% MAIN MATTER
%--------------------------------------------------------------------------------------------------
\mainmatter
%
\part{Thesis}
%
% Main chapters
%
\include{parts/introduction} % Introduction
\include{parts/background} % Scientific Background
\include{parts/datainstrumentationmodels} % Instrumentation
\include{parts/findings} % Summary of papers
\include{parts/discussion} % Discussion
% Add bibliography to the table of contents
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{bib/agufull08} %Two styles availabel in this template \bibliographystyle{bib/apacite}
\bibliography{bib/references}
%
\backmatter
\fancyhf{}
\renewcommand{\headrulewidth}{0pt} % and the line
% Include papers part
\part{Papers}
\include{parts/papers}
% To include appendices
%
%\appendix
%\include{appendixA} % Appendix A: Something
%
\end{document}