generated from Pseudomanifold/latex-mimosis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Thesis.tex
313 lines (252 loc) · 7.74 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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
% !TEX root = Thesis.tex
\documentclass[a4paper,11pt]{mimosis}
\usepackage{metalogo}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Some of my favourite personal adjustments
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% These are the adjustments that I consider necessary for typesetting
% a nice thesis. However, they are *not* included in the template, as
% I do not want to force you to use them.
% This ensures that I am able to typeset bold font in table while still aligning the numbers
% correctly.
\usepackage{etoolbox}
\usepackage{physics}
% \usepackage{afterpage} %% for page specific geometry
% Make KOMA script happy?
% fore more details see documentatio of KOMA Script options on margins and textarea at
% mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf
\KOMAoptions{DIV=12}
\KOMAoptions{BCOR=12mm}
\usepackage{multicol}
\setlength{\columnseprule}{0pt}
\setlength\columnsep{10pt}
\usepackage[absolute,overlay]{textpos}
\input{Sources/configuration.tex}
% DELETE THIS FOR use in actual thesis. This just creates filler text
\usepackage{lipsum}
%%%%%%%%%%%%%%%%%%%%%%%%%%
%% GEOMETRY
%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{geometry}
\geometry{
inner=25mm,
top=25mm,
outer=30mm,
bottom=25mm
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Hyperlinks & bookmarks
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[%
colorlinks = true,
citecolor = BrickRed,
linkcolor = RoyalBlue,
urlcolor = RoyalBlue,
unicode,
pdftitle={\PhDTitleEN},
pdfauthor={\PhDname},
pdfsubject={Manuscrit de thèse de doctorat},
]{hyperref}
\usepackage{bookmark}
\usepackage[capitalise]{cleveref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Bibliography
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% I like the bibliography to be extremely plain, showing only a numeric
% identifier and citing everything in simple brackets. The first names,
% if present, will be initialized. DOIs and URLs will be preserved.
\usepackage[%
autocite = plain,
backend = biber,
% doi = true,
eprint = true,
url = false,
giveninits = true,
hyperref = true,
maxbibnames = 99,
maxcitenames = 99,
sorting = none,
% sortcites = true,
% sortsets = true,
style = phys,
% citestyle = authoryear-comp,
% bibstyle = phys,
backref,%
natbib = true,
]{biblatex}
\input{bibliography-mimosis}
\addbibresource{Thesis.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fonts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifxetexorluatex
\usepackage{unicode-math}
\usepackage{fontspec}
% \setmainfont{Garamond}
% \setmainfont{EB Garamond}
% \setmathfont{Garamond Math}
% STIX Math Font
% \setmathfont{STIXTwoMath-Regular}[
% Extension={.otf},
% Path=./fonts/STIX2/,
% Scale=1]
% \setmainfont{STIXTwoText}[
% Extension={.otf},
% Path=./fonts/STIX2/,
% UprightFont={*-Regular},
% BoldFont={*-Bold},
% ItalicFont={*-Italic},
% BoldItalicFont={*-BoldItalic}
% ]
% \setsansfont{texgyreheros}[
% Extension={.otf},
% Path=./fonts/Heros/,
% UprightFont={*-regular},
% BoldFont={*-bold},
% ItalicFont={*-italic},
% BoldItalicFont={*-bolditalic}
% ]
% Classical LaTeX Fonts "Latin Modern"
\setmathfont{latinmodern-math}[
Extension={.otf},
Path=./fonts/Latin_Modern/,
Scale=1
]
\setmainfont{lmroman}[
Extension={.otf},
Path=./fonts/Latin_Modern/,
UprightFont={*-regular},
BoldFont={*-bold},
ItalicFont={*-italic},
BoldItalicFont={*-bolditalic},
FontFace={db}{n}{Font=*demi-regular,Ligatures=CommonOff},
FontFace={db}{it}{Font=*demi-oblique,Ligatures=CommonOff},
FontFace={sc}{n}{Font=*caps-regular,Ligatures=CommonOff},
FontFace={sc}{it}{Font=*caps-oblique,Ligatures=CommonOff},
]
\setmonofont{lmmono}[
Scale=MatchLowercase,
Extension={.otf},
Path=./fonts/Latin_Modern/,
UprightFont={*-regular},
% BoldFont={*-bold},
ItalicFont={*-italic}
]
\setsansfont{lmsans}[
Extension={.otf},
Path=./fonts/Latin_Modern/,
UprightFont={*-regular},
BoldFont={*-bold},
ItalicFont={*-oblique},
BoldItalicFont={*-boldoblique}
]
% \setfontfamily\mycoverthesefont{Libre Franklin}
% \setfontfamily\mycoverthesefont{IBM Plex Sans}
% \setfontfamily\mycoverfont{STIXTwoText}
% Set fonts for sections, chapters, and page headers
% options are:
% normal (main) Font
% font series: regular, bold, SmallCaps,...
% font shape: normal, italic, oblique,...
% \setkomafont{sectioning}{\normalfont\fontseries{db}\fontshape{n}}
\setkomafont{sectioning}{\normalfont\fontseries{db}\fontshape{it}}
\setkomafont{pagehead}{\normalfont\fontseries{sc}\fontshape{n}}
\else
% \usepackage[lf]{ebgaramond}
% \usepackage{stix2}
\usepackage{lmodern}
% \usepackage[garamondx,cmbraces]{newtxmath}
% \usepackage[oldstyle,scale=0.7]{sourcecodepro}
\singlespacing
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\fi
%%%%% Uncomment for Glossary anc acronyms
\newacronym[description={Singular value decomposition}]{SVD}{SVD}{singular value decomposition}
\newacronym{SNF}{SNF}{Smith normal form}
% \newacronym[description={Topological data analysis}]{TDA}{TDA}{topological data analysis}
\newglossaryentry{LaTeX}{%
name = {\LaTeX},
description = {A document preparation system},
sort = {LaTeX},
}
\newglossaryentry{Real numbers}{%
name = {\(\mathfrak{R}\)},
description = {The set of real numbers},
sort = {Real numbers},
}
\makeindex
\makeglossaries
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Ordinals
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\@ifundefined{st}{%
\newcommand{\st}{\textsuperscript{\textup{st}}\xspace}
}{}
\@ifundefined{rd}{%
\newcommand{\rd}{\textsuperscript{\textup{rd}}\xspace}
}{}
\@ifundefined{nd}{%
\newcommand{\nd}{\textsuperscript{\textup{nd}}\xspace}
}{}
\makeatother
\renewcommand{\th}{\textsuperscript{\textup{th}}\xspace}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Incipit
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{\PhDTitleEN}
% \subtitle{}
\author{\PhDname}
\begin{document}
%%%% Template files for a Thesis at the CPHT.
%%%% Configure the content of the following frontmatter in Sources/Frontmatter/configuration.tex
\frontmatter
\include{Sources/Frontmatter/Cover}
\include{Sources/Frontmatter/Title}
\include{Sources/Frontmatter/Abstract}
\selectlanguage{english}
\tableofcontents
\mainmatter
%%%%%%%%%%%%% If you want to Partition your thesis, use the \part command like;
\part[A good part]{%
A good part\\
%
\vspace{1cm}
%
\begin{minipage}[l]{\textwidth}
%
\textnormal{%
\normalsize
%
\begin{singlespace*}
\onehalfspacing
%
You can also use parts in order to partition your great work
into larger `chunks'. This involves some manual adjustments in
terms of the layout, though.
\end{singlespace*}
}
\end{minipage}
}
\include{Sources/Chapters/template.tex}
% This ensures that the subsequent sections are being included as root
% items in the bookmark structure of your PDF reader.
\bookmarksetup{startatroot}
\backmatter
%%%%% Glossary %%%%%
\begingroup
\let\clearpage\relax
\glsaddall
\printglossary[type=\acronymtype]
\newpage
\printglossary
\endgroup
%%% Bibliography %%%%
\printindex
\printbibliography
\include{Sources/Frontmatter/Backcover}
\end{document}