generated from andygruber/LaTeX-builder
-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tex
92 lines (76 loc) · 3.2 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
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
\input{00_preamble/thesis}
% if not used with overleaf add data input here
\input{01_data/yourData}
\hypersetup{
pdftitle={\yourThesisTitle},
pdfsubject={\typeOfWork},
pdfauthor={\yourNameInclTitle},
breaklinks, % permits line breaks for long links
bookmarksnumbered, % ... and include section numbers
linktocpage, % "make page number, not text, be link on TOC ..."
colorlinks, % yes ...
linkcolor=black, % normal internal links;
anchorcolor=black, % don't make scientific papers too much colourful => "black"
citecolor=black,
urlcolor=blue, % quite common
pdfstartview={Fit}, % "Fit" fits the page to the window
pdfpagemode=UseOutlines, % open bookmarks in Acrobat
plainpages=false, % avoids duplicate page number problem
pdflang={\PDFdocumentLang},
pdfkeywords={\docversion}
}
% add the bibliography
\addbibresource{references.bib}
% important update for glossaries, before document
%\makeglossaries % see https://www.overleaf.com/learn/latex/glossaries
%\loadglsentries{C_BackMatter/defns}
\GlsXtrLoadResources[src={C_BackMatter/defns}]
% adjust indexgroup style:
\renewcommand{\glstreenamefmt}[1]{#1}
\renewcommand{\glstreegroupheaderfmt}[1]{\textbf{#1}}
\newcommand{\tabitem}{~~\llap{\textbullet}~~} %bullet points in table
%remove all the things you don't need and add all the things you need. you can also change the order of the elements at your will.
\begin{document}
%\makeindex % create an index
\input{A_FrontMatter/titlepage} %Creates the titlepage
\clearpage
\frontmatter{} % turns off chapter numbering and uses roman numerals for page numbers
\input{A_FrontMatter/acknowledgements} % adds the acknowledgements
\input{A_FrontMatter/kurzfassung} % adds the "Kurzfassung" in german.
\input{A_FrontMatter/abstracts} % adds the abstract
%\pagebreak
\microtypesetup{protrusion=false}
\tableofcontents{}
\mainmatter{} % turns on chapter numbering, resets page numbering and uses arabic numerals for page numbers
\input{B_Chapters/01_Introduction}
\input{B_Chapters/02_Fundamentals}
\input{B_Chapters/03_Methodology}
\input{B_Chapters/04_Empirical_work}
\input{B_Chapters/05_Discussion}
\input{B_Chapters/06_Synopsis}
\nocite{*} % includes complete bibliography, including entries that remain uncited, RMF
\printbibliography % bibliography
% Use an optional list of tables / figures / algorithms / listings(code).
\listoftables
\listoffigures
\lstlistoflistings
\cleardoublepage{}
%\listofalgorithms
%\addcontentsline{toc}{chapter}{List of Algorithms}
%\cleardoublepage{}
%\cleardoublepage{}
%\microtypesetup{protrusion=true}
%\printglossary[type=\acronymtype]
%\printglossary
%\printunsrtglossaries
%\printunsrtglossary[type=\acronymtype, style=tab_style, nonumberlist=true, title={Acronyms}]
%\printunsrtglossary[type=entry, style=tab_style_sym, title={Definitions}]
%\cleardoublepage{}
%\pagebreak
%add your end matter here
%\appendix{} % resets chapter numbering, uses letters for chapter numbers and doesn't fiddle with page numbering
%\backmatter{} turns off chapter numbering and doesn't fiddle with page numberin
%\input{C_BackMatter/glossary}
\input{C_BackMatter/acronyms}
\input{C_BackMatter/appendix}
\end{document}