generated from exaexa/better-mff-thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
188 lines (154 loc) · 6.44 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
%%% The main file. It contains definitions of basic parameters and includes all other parts.
% Meta-data of your thesis (please edit)
\input metadata.tex
% Generate metadata in XMP format for use by the pdfx package
\input xmp.tex
%% Settings for single-side (simplex) printing
% Margins: left 40mm, right 25mm, top and bottom 25mm
% (but beware, LaTeX adds 1in implicitly)
\documentclass[12pt,a4paper]{report}
\setlength\textwidth{145mm}
\setlength\textheight{247mm}
\setlength\oddsidemargin{15mm}
\setlength\evensidemargin{15mm}
\setlength\topmargin{0mm}
\setlength\headsep{0mm}
\setlength\headheight{0mm}
% \openright makes the following text appear on a right-hand page
\let\openright=\clearpage
%% Settings for two-sided (duplex) printing
% \documentclass[12pt,a4paper,twoside,openright]{report}
% \setlength\textwidth{145mm}
% \setlength\textheight{247mm}
% \setlength\oddsidemargin{14.2mm}
% \setlength\evensidemargin{0mm}
% \setlength\topmargin{0mm}
% \setlength\headsep{0mm}
% \setlength\headheight{0mm}
% \let\openright=\cleardoublepage
%% If the thesis has no printed version, symmetric margins look better
% \documentclass[12pt,a4paper]{report}
% \setlength\textwidth{145mm}
% \setlength\textheight{247mm}
% \setlength\oddsidemargin{10mm}
% \setlength\evensidemargin{10mm}
% \setlength\topmargin{0mm}
% \setlength\headsep{0mm}
% \setlength\headheight{0mm}
% \let\openright=\clearpage
%% Generate PDF/A-2u
\usepackage[a-2u]{pdfx}
%% Prefer Latin Modern fonts
\usepackage{lmodern}
% If we are not using LuaTeX, we need to set up character encoding:
\usepackage{iftex}
\ifpdftex
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\fi
%% Further useful packages (included in most LaTeX distributions)
\usepackage{amsmath} % extensions for typesetting of math
\usepackage{amsfonts} % math fonts
\usepackage{amsthm} % theorems, definitions, etc.
\usepackage{bm} % boldface symbols (\bm)
\usepackage{booktabs} % improved horizontal lines in tables
\usepackage{caption} % custom captions of floating objects
\usepackage{dcolumn} % improved alignment of table columns
\usepackage{floatrow} % custom float environments
\usepackage{graphicx} % embedding of pictures
\usepackage{indentfirst} % indent the first paragraph of a chapter
\usepackage[nopatch=item]{microtype} % micro-typographic refinement
\usepackage{paralist} % improved enumerate and itemize
\usepackage[nottoc]{tocbibind} % makes sure that bibliography and the lists
% of figures/tables are included in the table
% of contents
\usepackage{xcolor} % typesetting in color
% Additional packages
\usepackage{longtable}
\usepackage{dirtree}
\usepackage{tikz}
% The hyperref package for clickable links in PDF and also for storing
% metadata to PDF (including the table of contents).
% Most settings are pre-set by the pdfx package.
\hypersetup{unicode}
\hypersetup{breaklinks=true}
% Packages for computer science theses
\usepackage{algpseudocode} % part of algorithmicx package
\usepackage{algorithm}
\usepackage{fancyvrb} % improved verbatim environment
\usepackage{listings} % pretty-printer of source code
% You might want to use cleveref for references
% \usepackage{cleveref}
% Set up formatting of bibliography (references to literature)
% Details can be adjusted in macros.tex.
%
% BEWARE: Different fields of research and different university departments
% have their own customs regarding bibliography. Consult the bibliography
% format with your supervisor.
%
% The basic format according to the ISO 690 standard with numbered references
\usepackage[natbib,style=iso-numeric,sorting=none]{biblatex}
% ISO 690 with alphanumeric references (abbreviations of authors' names)
%\usepackage[natbib,style=iso-alphabetic]{biblatex}
% ISO 690 with references Author (year)
%\usepackage[natbib,style=iso-authoryear]{biblatex}
%
% Some fields of research prefer a simple format with numbered references
% (sorting=none tells that bibliography should be listed in citation order)
%\usepackage[natbib,style=numeric,sorting=none]{biblatex}
% Numbered references, but [1,2,3,4,5] is compressed to [1-5]
%\usepackage[natbib,style=numeric-comp,sorting=none]{biblatex}
% A simple format with alphanumeric references:
%\usepackage[natbib,style=alphabetic]{biblatex}
% Load the file with bibliography entries
\addbibresource{bibliography.bib}
\usepackage[acronym,toc=true,automake=immediate]{glossaries-extra}
\makeglossaries
\glssetcategoryattribute{acronym}{indexonlyfirst}{false}
\setabbreviationstyle[acronym,]{long-short}
% Our definitions of macros (see description inside)
\input macros.tex
\input acronyms-and-glossary.tex
%%% Title page and various mandatory informational pages
\begin{document}
\include{title}
%%% A page with automatically generated table of contents of the thesis
\tableofcontents
%%% Each chapter is kept in a separate file
\include{ch0preface}
\include{ch1analysis}
\include{ch2design}
\include{ch3implementation}
\include{ch4evaluation}
\include{chEepilog}
%%% Bibliography
\include{bibliography}
%%% Figures used in the thesis (consider if this is needed)
\listoffigures
%%% Tables used in the thesis (consider if this is needed)
%%% In mathematical theses, it could be better to move the list of tables to the beginning of the thesis.
\listoftables
%%% Abbreviations used in the thesis, if any, including their explanation
%%% In mathematical theses, it could be better to move the list of abbreviations to the beginning of the thesis.
\printglossary[type=\acronymtype]
%%% Doctoral theses must contain a list of author's publications
\ifx\ThesisType\TypePhD
\chapwithtoc{List of Publications}
\fi
%%% Attachments to the thesis, if any. Each attachment must be referred to
%%% at least once from the text of the thesis. Attachments are numbered.
%%%
%%% The printed version should preferably contain attachments, which can be
%%% read (additional tables and charts, supplementary text, examples of
%%% program output, etc.). The electronic version is more suited for attachments
%%% which will likely be used in an electronic form rather than read (program
%%% source code, data files, interactive charts, etc.). Electronic attachments
%%% should be uploaded to SIS. Allowed file formats are specified in provision
%%% of the rector no. 72/2017. Exceptions can be approved by faculty's coordinator.
\appendix
\chapter{Attachments}
\include{apx1listOfFunctions}
\include{apx2tranpilerCode}
\include{apx3performanceAnalysisCode}
\end{document}