-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
45 lines (37 loc) · 1.22 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
\documentclass[11pt,twoside,a4paper,openright]{report}
\input{setup/preamble}
\input{setup/macros}
\newcounter{Rev} % Revision counter
\setcounter{Rev}{0} % Set the revision counter to the number of the current revision
\begin{document}
% Frontmatter
\pagestyle{empty} % Disable headers and footers
\pagenumbering{roman} % Use roman page numbering in the frontmatter
\input{specials/frontpage}
\input{specials/colophon}
\input{specials/titlepages}
\input{specials/preface}
\cleardoublepage
% TOC
\pdfbookmark[0]{Contents}{label:contents}
\setcounter{tocdepth}{1} % Determine depth of table of contents. 0 - 4
\tableofcontents
\cleardoublepage
% Mainmatter
\acresetall{}
\pagestyle{fancy} % Enable headers and footers again
\pagenumbering{arabic} % Use arabic page numbering in the mainmatter
\subfile{chapters/introduction}
\subfile{chapters/problem-analysis}
% backmatter
\chapter*{List of Acronyms}\label{chap:acro}
\addcontentsline{toc}{chapter}{\nameref{chap:acro}} % add to TOC
\begin{acronym}
\acro{AST}{Abstract Syntax Tree}
\acro{RNG}{Random Number Generation}
\acro{CLI}{Command Line Interface}
\end{acronym}
\printbibliography[heading=bibintoc, title=References]
\appendix
\subfile{chapters/appendix}
\end{document}