-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
81 lines (67 loc) · 1.88 KB
/
Copy pathmain.tex
File metadata and controls
81 lines (67 loc) · 1.88 KB
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
% Dissertation specific macros
\input{configuration/ThesisTemplate}
\input{configuration/ThesisShortcuts}
% My macros
%NOTE: Removed myResources
\input{configuration/Latex/macros/fluidMacros}
\input{configuration/Latex/macros/vectorCalcMacros}
\input{configuration/Latex/macros/emMacros}
\input{configuration/Latex/macros/genMathMacros}
\input{configuration/Latex/macros/mathMacros}
\input{configuration/Latex/macros/pictureMacros}
\input{configuration/Latex/macros/codeMacros}
\usepackage{xurl}
\usepackage{microtype}
\setlength\emergencystretch{3em}
\addbibresource{bibliography.bib}
%\usepackage[text=Draft 2, colorspec=0.92, scale=5]{draftwatermark} %Draft mark package
\begin{document}
%\listoftodos
% Roman for the beginning stuff
\pagenumbering{roman}
% Place holder for Symbols and Acronyms
\subimport{src/glossary}{glossary}
% Title Page
\begin{titlingpage}
\subimport{src/ch0}{chapter_0}
\end{titlingpage}
% Print table of contents
\tableofcontents
\thispagestyle{fancy}
% List of Figures
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
\thispagestyle{fancy}
% List of Tables
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables
\thispagestyle{fancy}
% List of Abbreviations and Nomenclature
\clearpage
\printunsrtglossary[type=abbreviations, title=\listabbreviation]
\printunsrtglossary[type=symbols, style=long, title=\listnomenclature]
% Abstract
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Abstract}
\subimport{src/ch0}{Abstract}
% Revert back to arabic
\cleardoublepage
\pagenumbering{arabic}
\setcounter{page}{1}
% Add all the chapters
\foreach \n in {1,2,3,4,5} {
\subimport{src/ch\n}{chapter_\n}
}
% Documents after chapters
\appendix
\begin{appendices}
\subimport{src/appendices}{appendices}
\end{appendices}
\newpage
\printbibliography[heading=bibintoc]
\end{document}