-
Notifications
You must be signed in to change notification settings - Fork 39
/
Template_Thesis_BA_MA_EN.tex
144 lines (112 loc) · 4.62 KB
/
Template_Thesis_BA_MA_EN.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
% !TeX program = pdflatex
% !TeX TS-program = pdflatex
% !TeX TXS-program:compile = txs:///pdflatex/
% !BIB program = biber
% !BIB TS-program = biber
% !TeX TXS-program:bibliography = txs:///biber
%%%%%%%%%%%%%%%%
%% PREAMBLE %%
%%%%%%%%%%%%%%%%
% To ``accept'' all changes in the document:
%\PassOptionsToPackage{final}{changes}
%\PassOptionsToPackage{disable}{todonotes}
\newcommand{\thesistitle}{%
A\unskip\nobreak\ Template for Bachelor's\unskip\nobreak\ Theses and\unskip\nobreak\ Master's\unskip\nobreak\ Theses%
}
\newcommand{\thesisauthor} {Lou~E. Vu{\"i}-T{\o}n}
\newcommand{\studentID} {7654321}
\newcommand{\thesistype} {MA} % BA for bachelor's, MA for master's thesis
\newcommand{\advisorname} {Prof.~Dr. Vae-Ree Smart}
\newcommand{\advisorgender}{m} % f for female, m for male
% From https://www.vwlpamt.uni-bonn.de/pruefungsamt/pdfs/formulare/bachelorarbeitsmerkblatt-formalia and
% https://www.vwlpamt.uni-bonn.de/pruefungsamt/pdfs/formulare/masterarbeitsmerkblatt-formalia:
% ``Die Bachelorarbeit darf höchstens einen Textumfang, inklusive Grafiken, Bilder, Formeln etc.,
% von 20 [Master: 40] einseitig bedruckten DIN-A4-Seiten haben, wobei Inhaltsverzeichnis, Anhang und Literaturverzeichnis
% nicht mitzählen.''
% ``Es ist Papier im DIN-A4-Format zu benutzen. Verwenden Sie den Schrifttyp Times New Roman
% oder eine Schriftart der gleichen Kategorie (Serifen), die Schriftgröße 12, anderthalbfachen Zeilenabstand
% und Blocksatz.''
% This makes an incredibly ugly layout, :-( but we follow the guidelines nevertheless.
% =>>
\documentclass[12pt, a4paper, oneside, full]{article}
\usepackage[left=3cm, top=2cm, right=2cm, bottom=2cm]{geometry}
% ``Die Seitenränder sollen links 3 cm sowie rechts, oben und unten 2 cm betragen.''
\newcommand{\linesperpagedesired}{35}
% In Microsoft Word, A4 paper with margins of 2 cm at the top and bottom and the font set to
% 12-pt Times New Roman, a line spacing of 1.5 yields 35 lines of text per page.
% <==
\input{0_0_Preamble/Preamble_Fundamental_packages}
\input{0_0_Preamble/Preamble_Page_layout_general}
\input{0_0_Preamble/Preamble_Page_layout_thesis_BA_MA}
\input{0_0_Preamble/Preamble_BibLaTeX_AER} %\input{0_0_Preamble/Preamble_BibLaTeX_APA}
\input{0_0_Preamble/Preamble_Fonts_Times}
\input{0_0_Preamble/Preamble_Commenting_and_highlighting}
\input{0_0_Preamble/Preamble_Miscellaneous}
% Set up desired deviations from the default bibliography settings here:
\setcounter{biburllcpenalty}{9999}
\setcounter{biburlucpenalty}{9999}
\setcounter{biburlnumpenalty}{9999}
\AtEveryBibitem{\iffieldundef{eprint}{}{\clearfield{url}}}
\AtEveryBibitem{\iffieldundef{doi}{}{\clearfield{eprint}}}
\bibliography{Library.bib}
\hypersetup{
pdftitle = {\thesistitle},
pdfauthor = {\thesisauthor}
}
%%%%%%%%%%%%
%% BODY %%
%%%%%%%%%%%%
\begin{document}
\title{\thesistitle}
\author{\thesisauthor}
\date{\today}
\include{0_1_Frontmatter_Thesis_Term_Paper/Thesis_frontmatter_EN}
% \subimport enables execution of \input commands in subdocuments without having to adjust paths
% Do not use \subimport{...} (i.e., the asterisk version), since this will lead to
% font issues.
\subimport{1_Example_Content/1_Introduction/}{Introduction_Thesis}
% Avoid that the line spacing in tikzpictures becomes too large
% as a consequence of the 1.5 line spacing of the body text
% ==>
\tikzset{every picture/.append style={
execute at begin picture={%
\edef\baselinestretch{0.667}%
}
}
}
% <==
\subimport{1_Example_Content/2_Methods/}{Design}
\subimport{1_Example_Content/2_Methods/}{Predictions}
\subimport{1_Example_Content/3_Results/}{Results}
\subimport{1_Example_Content/3_Results/}{Structural_Estimation}
\subimport{1_Example_Content/4_Discussion/}{Discussion}
\subimport{1_Example_Content/5_Conclusion/}{Conclusion}
\clearpage
\begin{appendices}
\label{sec:appendix}
\FloatBarrier
\subimport{1_Example_Content/9_Appendix/}{Attention}
\FloatBarrier
\clearpage
\subimport{1_Example_Content/9_Appendix/}{Additional_Figures}
\FloatBarrier
\subimport{1_Example_Content/9_Appendix/}{siunitx_examples}
\clearpage
\input{2_Math_Tests/mathtest_defs}
\renewcommand{\showfamily}{{\color{magenta}%
Serif%
}}
{\rmfamily\mdseries%
\input{2_Math_Tests/mathtest}%
\subsection{Math ``Torture'' Test \showfamily}
\input{2_Math_Tests/mathtest_TeXbook}%
}
\end{appendices}
\clearpage % Print References on a new page
\phantomsection % Needed for the bibliography bookmark to point to the correct page
\begin{refcontext}[sorting=nyt] % Sort BIBLIOGRAPHY by alphabet (while CITATIONS are sorted by year)
\sloppy
\printbibliography[heading=bibintoc]
\end{refcontext}
\include{9_Formal_Stuff/Declaration}
\end{document}