-
Notifications
You must be signed in to change notification settings - Fork 13
/
thesis.tex
275 lines (234 loc) · 9.59 KB
/
thesis.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
% ----------------------------------------------------------------------
% LATEX TEMPLATE FOR PhD THESIS
% ----------------------------------------------------------------------
% based on Harish Bhanderi's PhD/MPhil template, then Uni Cambridge
% http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/
% corrected and extended in 2007 by Jakob Suckale, then MPI-CBG PhD programme
% and made available through OpenWetWare.org - the free biology wiki
% and finally modified in 2015-2017 by Holger Nahrstaedt
% https://github.com/holgern/TUB_PhDThesisTemplate
%: Style file for Latex
% Most style definitions are in the external file PhDthesisTUB.
% In this template package, it can be found in ./Classes/
\documentclass[twoside,11pt,online,a4paper,pdfa1,custommargin,numbered,biblatex]{Classes/PhDthesisTUB}
% *********************** Choosing pdfx standard ******************************
% `pdfa1'
% `pdfa2'
% `pdfx3'
% *********************** Change Thesis-Language to German ******************************
% default is english
% `german' : language is set to german
%
% % *********************** Choosing oneside / twoside ******************************
% `oneside' : layout is optimized for one-side print
% `twoside' : layout is optimized for two-side print
% *********************** Choosing print / online ******************************
% `print' : pdf-file is optimized for print
% `online' : pdf-file is optimized for online submission. The links are colorfull.
% *********************** Choosing biblatex or bibtex ******************
% `biblatex' : biblatex is used. Biblatex is automatically set when using xetex
%
% *********************** Choosing bibliographystyle ******************
% `numbered' : (default option) e.g. [1], [2]
% `authoryear' : e.g. Name (2008)
% `custombib' : Use your own style, which is defined in preamble.tex
% *********************** Choosing the Fonts size ******************
% `9pt'
% `10pt'
% `11pt'
% `12pt'
% *********************** Choosing the paper size ******************
% `letterpaper'
% `a4paper'
% `a5paper'
% *********************** Choosing the Fonts in Class Options when using pdflatex ******************
%
% On Windows, the packge cm-super has to be installed!
%
% `' : computer modern
% `fontA' : newtxmath
% `fontB' : cmbright
% `fontC' : libertine,newtxmath
% `fontD' : concmath
% `fontE' : iwona
% `fontF' : kurier
% `fontG' : anttor
% `fontH' : kmath,kerkis
% `fontI' : mathdesign (Utopia)
% `fontJ' : fouriernc
% `fontK' : pxfonts
% `fontL' : mathpazo
% `fontM' : mathpple
% `fontN' : txfonts
% `fontO' : mathtime (Belleek)
% `fontP' : mathptmx times
% `fontQ' : mbtimes omega
% `fontR' : arev
% `fontS' : mathdesign (Charter)
% `fontT' : comicsans
% `fontU' : mathdesign (Garamond)
% `fontV' : fourier utopia
% `fontW' : ccfonts,eulervm
%
% `customfont': Use `customfont' option in the document class and load the
% package in the preamble.tex
%
% default or leave empty: `Latin Modern' font will be loaded.
%
% *********************** Choosing the Fonts in Class Options when using xelatex/lualatex ***********
%
% `' : computer modern
% `fontA' : XITS - XITS Math
% `fontB': Cambria - Cambria Math
% 'fontC': Libertinus - Libertinus Math
% 'fontD': TeX Gyre Pagella - Asana Math
% 'fontE': TeX Gyre Pagella - TeX Gyre Pagella Math
% 'fontF': TeX Gyre Schola - TeX Gyre Schola Math
% 'fontG': TeX Gyre Termes - TeX Gyre Termes Math
% 'fontH': TeX Gyre Bonum - TeX Gyre Bonum Math
% 'fontI': DejaVu Sans - TeX Gyre DejaVu Math
%
% `customfont': Use `customfont' option in the document class and load the
% package in the preamble.tex
%
% default or leave empty: `Latin Modern' font will be loaded.
%
% ************************* Custom Page Margins ********************************
%
% `custommargin`: Use `custommargin' in options to activate custom page margins,
% which can be defined in the preamble.tex. Custom margin will override
% print/online margin setup.
%
% ************************* other options ********************************
% `abstract`: Only the title-page and the abstracts are generated
%
\include{Preamble/preamble}
\include{thesis-info}
%: ----------------------- set languange ------------------------
\ifCLASSINFOlangDE
\selectlanguage{german}
\else
\selectlanguage{english}
\fi
% ***************************** Abstract Separate ******************************
% To printout only the titlepage and the abstract with the PhD title and the
% author name for submission to the Student Registry, use the `abstract' option in
% the document class.
\ifdefineAbstract
\pagestyle{empty}
\includeonly{0_frontmatter/zusammenfassung, 0_frontmatter/abstract}
\fi
%: ----------------------- generate glossary ------------------------
\loadglsentries{0_frontmatter/glossary}
\makeglossaries
\begin{document}
%: ----------------------- generate cover page ------------------------
\frontmatter
% \maketitle generates a title page for the final submission
% \makepretitle generates a title page for evaluation process
% title and author... can be set in thesis-info.tex
\phantomsection
\addcontentsline{toc}{chapter}{Title Page}
\maketitle
%\makepretitle
%: ----------------------- Choose spacing ------------------------
%\singlespacing
\onehalfspacing
%\doublespacing
%: ----------------------- abstract ------------------------
% Your institution may have specific regulations if you need an abstract and where it is to be placed in the document. The default here is just after title.
\include{0_frontmatter/zusammenfassung}
\include{0_frontmatter/abstract}
%: ----------------------- tie in front matter ------------------------
%\frontmatter
\include{0_frontmatter/dedication}
\include{0_frontmatter/acknowledgement}
%: ----------------------- contents ------------------------
\tableofcontents % print the table of contents
%: ----------------------- list of figures/tables ------------------------
\cleardoublepage
\listoffigures % print list of figures
\cleardoublepage
\listoftables % print list of tables
%: ----------------------- glossary ------------------------
% Tie in external source file for definitions: /0_frontmatter/glossary.tex
% Glossary entries can also be defined in the main text. See glossary.tex
\cleardoublepage
%\chapter{Glossary}
\begin{multicols}{2} % \begin{multicols}{#columns}[header text][space]
\begin{footnotesize} % scriptsize(7) < footnotesize(8) < small (9) < normal (10)
\ifCLASSINFOlangDE
\printglossary[type=\acronymtype,title=Abkürzungsverzeichnis]
\else
\printglossary[type=\acronymtype,title=Abbreviations]
\fi
%\printglossary
%\printnomenclature[1.5cm] % [] = distance between entry and description
%\printglossery
\label{nom} % target name for links to glossary
\end{footnotesize}
\end{multicols}
\begin{multicols}{2} % \begin{multicols}{#columns}[header text][space]
\begin{footnotesize}
\printglossary[type=symbolslist,title=Symbols]
\end{footnotesize}
\end{multicols}
%: --------------------------------------------------------------
%: MAIN DOCUMENT SECTION
% --------------------------------------------------------------
\mainmatter
%: ----------------------- subdocuments ------------------------
% Parts of the thesis are included below. Rename the files as required.
% But take care that the paths match. You can also change the order of appearance by moving the include commands.
% \cfchapter[short name] {full name} {folder name} {file name}.
\tikzsetexternalprefix{./1_introduction/TikzPictures/}
\cfchapter{Introduction}{1_introduction}{introduction}
\tikzsetexternalprefix{./2/TikzPictures/}
\cfchapter{State of the Art}{2}{chapter2}
\tikzsetexternalprefix{./3/TikzPictures/}
\cfchapter{Including tikz\label{ch:chapter3}}{3}{chapter3}
\tikzsetexternalprefix{./4/TikzPictures/}
\cfchapter{Sum - Algorithm\label{ch:chapter4}}{4}{chapter4}
\tikzsetexternalprefix{./5/TikzPictures/}
\cfchapter{PGF-plots from python\label{ch:chapter5}}{5}{chapter5}
\tikzsetexternalprefix{./6/TikzPictures/}
\cfchapter{Asymptote\label{ch:chapter6}}{6}{chapter6}
\tikzsetexternalprefix{./7/TikzPictures/}
\cfchapter{Discussion\label{ch:chapter7}}{7}{discussion}
\tikzsetexternalprefix{./8/TikzPictures/}
\cfchapter{Materials and Methods}{8}{materials_methods}
\cleardoublepage
% description of lab methods
% --------------------------------------------------------------
%: BACK MATTER: appendices, refs,..
% --------------------------------------------------------------
% the back matter: appendix and references close the thesis
%: ----------------------- bibliography ------------------------
% The section below defines how references are listed and formatted
% The default below is one column, small font, complete author names.
% Entries are also linked back to the page number in the text and to external URL if provided in the BibTex file.
\begin{footnotesize} % tiny(5) < scriptsize(7) < footnotesize(8) < small (9)
\ifCLASSINFOlangDE
%\renewcommand{\bibname}{References}
\else
\renewcommand{\bibname}{References} % changes the header; default: Bibliography
\fi
% add bib to toc
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\ifCLASSINFObiblatex
\printbibliography
\else
% PhDbiblio-url2 = names small caps, title bold & hyperlinked, link to page
\bibliographystyle{Classes/PhDbiblio-url2} % Title is link if provided
%\bibliographystyle{apalike}
\bibliography{9_backmatter/references} % adjust this to fit your BibTex file
\fi
\end{footnotesize}
% ********************************** Appendices ********************************
\begin{appendices} % Using appendices environment for more functionality
\tikzsetexternalprefix{./Appendix1/TikzPictures/}
\include{Appendix1/appendix1}
\end{appendices}
\end{document}