forked from th-nuernberg/thesis-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
187 lines (159 loc) · 4.77 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
178
179
180
181
182
183
184
185
186
187
\documentclass[
11pt,
a4paper,
sfdefaults=false,
toc=chapterentrywithdots,
oneside, % or twoside for printing
openany, % or openright for printing
titlepage,
parskip=half,
headings=normal, % reduces heading size
listof=totoc,
bibliography=totoc,
index=totoc,
captions=tableheading, % caption below table
chapterprefix,
listof=flat,
numbers=noendperiod, % for omitting the trailing dot after chapter and section numbers
final
]{scrbook}
% !TeX spellcheck = de_DE
% details about your thesis
\newcommand{\titel}{Fehlertoleranz mit Reed-Solomon}
\newcommand{\artderarbeit}{Schriftlicher Bericht} % {Bachelorarbeit,Masterarbeit}
\newcommand{\autor}{Jonas Lang}
\newcommand{\studiengang}{Informatik}
\newcommand{\matrikelnr}{363\,0314}
\newcommand{\erstgutachter}{Prof.\,Dr.~Korbinian Riedhammer}
\newcommand{\zweitgutachter}{Prof.\,Dr.~Bartosz von\,Rymon\,Lipinski}
\newcommand{\betreuer}{Prof.\,Dr.~Axel Hein}
\newcommand{\logo}{figures/TH-Nuernberg-RGB.png}
\newcommand{\keywords}{error correction, reed solomon, encoding, decoding}
% custom head and foot
\usepackage[automark]{scrlayer-scrpage}
\pagestyle{scrheadings}
\ihead{\headmark}
\chead{}
%\ohead{\pagemark}
\RedeclareSectionCommand[tocindent=0pt]{section}
\RedeclareSectionCommand[tocindent=0pt]{subsection}
%\RedeclareSectionCommand[tocnumwidth=70pt]{chapter}
\usepackage{scrhack}
% Bibliography
\usepackage[style=ieee, backend=biber, dashed=false]{biblatex}
\addbibresource{refs.bib}
\AtEveryBibitem{\clearfield{language}}
\setcounter{biburllcpenalty}{7000}
\setcounter{biburlucpenalty}{8000}
% to force "et al." instead of "u.a.":
\DefineBibliographyStrings{german}{
andothers = {{et\,al\adddot}},
}
% other packages
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern,relsize,textcomp,csquotes}
\usepackage{amsmath,amsfonts} % math formulas
\usepackage[english, ngerman]{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}
\usepackage{enumitem} % for list and enumerations
% table setup
\usepackage{longtable}
\usepackage{array}
\usepackage{ragged2e}
\usepackage{lscape}
\usepackage{booktabs} % for advanced tables
% pdf hyperref
\usepackage[
bookmarks=true,
bookmarksopen=true,
bookmarksnumbered=true,
bookmarksopenlevel=1,
pdftitle={\titel},
pdfauthor={\autor},
pdfcreator={\autor},
pdfsubject={\titel},
pdfkeywords={\keywords},
pdfpagelabels=true,
hidelinks,
colorlinks=false,
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{a4paper,left=2.5cm,right=2.5cm,top=3.0cm,} % bindingoffset=.8cm for printing
\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.\ }}}
% load glossary
\loadglsentries{glossary}
\makenoidxglossaries
\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
\listoffigures
\cleardoublepage
\listoftables
\cleardoublepage
\mainmatter
\include{content/1_intro}
\include{content/2_development}
\include{content/3_foundation}
\include{content/4_operatingPrinciple}
\include{content/5_application}
\include{content/6_summary}
% remove if not needed
\appendix
\include{content/a1_supplemental}
\backmatter
%\renewcommand{\lstlistlistingname}{List of Listings} % change for German thesis
%\lstlistoflistings
\cleardoublepage
\printnoidxglossaries
\sloppy
\printbibliography
\end{document}