-
Notifications
You must be signed in to change notification settings - Fork 77
/
thesis.tex
177 lines (148 loc) · 4.34 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
\documentclass[
11pt,
a4paper,
sfdefaults=false,
toc=chapterentrywithdots,
twoside,openright,
titlepage,
parskip=half,
headings=normal, % reduces heading size
listof=totoc,
bibliography=totoc,
index=totoc,
captions=tableheading, % caption below table
chapterprefix,
listof=flat,
final
]{scrbook}
% details about your thesis
\newcommand{\titel}{My very fancy thesis title.}
\newcommand{\artderarbeit}{Bachelorarbeit} % {Bachelorarbeit,Masterarbeit}
\newcommand{\autor}{Georg Simon Ohm}
\newcommand{\studiengang}{Informatik} % {Informatik,Wirtschaftsinformatik,Medieninformatik}
\newcommand{\matrikelnr}{123\,4567}
\newcommand{\erstgutachter}{Prof.\,Dr.~Korbinian Riedhammer}
\newcommand{\zweitgutachter}{Prof.\,Dr.~Bartosz von\,Rymon\,Lipinski}
\newcommand{\betreuer}{M.Sc.\,~Martina Schmidt}
\newcommand{\unternehmen}{Musterfirma GmbH}
\newcommand{\logo}{figures/TH-Nuernberg-RGB.png}
\newcommand{\keywords}{hot, fuzz}
% custom head and foot
\usepackage[automark]{scrlayer-scrpage}
\pagestyle{scrheadings}
\ihead{\headmark}
\chead{}
\ohead{\pagemark}
\renewcommand*\chaptermarkformat{\chapappifchapterprefix{\ }%
\thechapter.\enskip}
\RedeclareSectionCommand[tocindent=0pt]{section}
\RedeclareSectionCommand[tocindent=0pt]{subsection}
%\RedeclareSectionCommand[tocnumwidth=70pt]{chapter}
\usepackage{scrhack}
% other packages
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern,relsize,textcomp,csquotes}
\usepackage{amsmath,amsfonts}
\usepackage[ngerman,english]{babel} % flip for German thesis
\usepackage[final]{graphicx}
\usepackage{setspace,geometry,xcolor}
\usepackage{makeidx}
\usepackage{paralist,ifthen,todonotes}
\usepackage{url}
\usepackage[toc]{glossaries}
\usepackage{pdfpages}
% table setup
\usepackage{longtable}
\usepackage{array}
\usepackage{ragged2e}
\usepackage{lscape}
% pdf hyperref
\usepackage[
bookmarks=true,
bookmarksopen=true,
bookmarksnumbered=true,
bookmarksopenlevel=1,
pdftitle={\titel},
pdfauthor={\autor},
pdfcreator={\autor},
pdfsubject={\titel},
pdfkeywords={\keywords},
pdfpagelabels=true,
colorlinks=true,
linkcolor=red,
urlcolor=magenta,
anchorcolor=black,
citecolor=cyan,
filecolor=magenta,
menucolor=red,
plainpages=false,
hypertexnames=true,
linktocpage=true,
]{hyperref}
% configure your listings style
\usepackage{listings}
\lstset{
tabsize=3,
extendedchars=true,
frame=single,
showstringspaces=true,
numbers=left,
numberstyle=\small,
breakautoindent=true
}
% page setup
% \setlength{\topskip}{\ht\strutbox}
\geometry{paper=a4paper,left=2.5cm,top=3.0cm,bindingoffset=.8cm}
\onehalfspacing
\frenchspacing
\clubpenalty = 10000
\widowpenalty = 10000
\displaywidowpenalty = 10000
% some commands
\newcommand{\ua}{\mbox{u.\,a.\ }}
\newcommand{\zB}{\mbox{z.\,B.\ }}
\newcommand{\dahe}{\mbox{d.\,h.,\ }}
\newcommand{\bzw}{\mbox{bzw.\ }}
\newcommand{\bzgl}{\mbox{bzgl.\ }}
\newcommand{\eg}{\mbox{e.\,g.\ }}
\newcommand{\ie}{\mbox{i.\,e.\ }}
\newcommand{\wrt}{\mbox{w.\,r.\,t.\ }}
\newcommand{\etal}{\mbox{\emph{et\,al.\ }}}
% TODO remove if not needed...
\usepackage{blindtext}
% load glossary entries
\makenoidxglossaries
\loadglsentries{glossary}
\begin{document}
\setcounter{secnumdepth}{3} % numerate subsections
\setcounter{tocdepth}{2} % ...but don't include them in toc
\frontmatter
\include{cover}\cleardoublepage
% download the following form (requires VPN) and complete it (hit save in your editor)
% https://intern.ohmportal.de/fileadmin/Public_Docs/SB/SB_0009_FO_Pruefungsrechtliche_Erklaerung_und_Erklaerung_zur_Veroeffentlichung_der_Abschlussarbeit_public.pdf
%\includepdf{SB_0009_FO_Pruefungsrechtliche_Erklaerung_und_Erklaerung_zur_Veroeffentlichung_der_Abschlussarbeit_public.pdf}\cleardoublepage
\include{content/0_abstract}\cleardoublepage
\tableofcontents
\mainmatter
\include{content/1_intro}
\include{content/2_data}
\include{content/3_method}
\include{content/4_experiments}
\include{content/5_outlook}
\include{content/6_summary}
% remove if not needed
\appendix
\include{content/a1_supplemental}
\backmatter
\listoffigures
\cleardoublepage
\listoftables
\cleardoublepage
\renewcommand{\lstlistlistingname}{List of Listings} % change for German thesis
\lstlistoflistings
\cleardoublepage
\bibliographystyle{wmaainf}
\bibliography{refs}
\printnoidxglossaries
\end{document}