Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
latextemplates
GitHub Repository: latextemplates/scientific-thesis-template
Path: blob/main/main-english.tex
340 views
1
% !TeX spellcheck = en-US
2
% !TeX encoding = utf8
3
% !TeX program = pdflatex
4
% !BIB program = biber
5
% -*- coding:utf-8 mod:LaTeX -*-
6
7
8
% vv scroll down to line 200 for content vv
9
10
11
\let\ifdeutsch\iffalse
12
\let\ifenglisch\iftrue
13
\input{pre-documentclass}
14
\documentclass[
15
% fontsize=11pt is the standard
16
a4paper, % Standard format - only KOMAScript uses paper=a4 - https://tex.stackexchange.com/a/61044/9075
17
twoside, % we are optimizing for both screen and two-sided printing. So the page numbers will jump, but the content is configured to stay in the middle (by using the geometry package)
18
bibliography=totoc,
19
% idxtotoc, %Index ins Inhaltsverzeichnis
20
% liststotoc, %List of X ins Inhaltsverzeichnis, mit liststotocnumbered werden die Abbildungsverzeichnisse nummeriert
21
headsepline,
22
cleardoublepage=empty,
23
parskip=half,
24
% draft % um zu sehen, wo noch nachgebessert werden muss - wichtig, da Bindungskorrektur mit drin
25
draft=false
26
]{scrbook}
27
\input{config}
28
29
30
\usepackage[
31
title={Is Oil the future?},
32
author={Lars K.},
33
type=bachelor,
34
institute=iaas, % or other institute names - or just a plain string using {Demo\\Demo...}
35
course={Medieninformatik},
36
examiner={Prof.\ Dr.\ Uwe Fessor},
37
supervisor={Dipl.-Inf.\ Roman Tiker,\\Dipl.-Inf.\ Laura Stern,\\Otto Normalverbraucher,\ M.Sc.},
38
startdate={July 5, 2018},
39
enddate={January 5, 2019}
40
]{scientific-thesis-cover}
41
42
\input{acronyms}
43
44
\makeindex
45
46
\begin{document}
47
48
%tex4ht-Konvertierung verschönern
49
\iftex4ht
50
% tell tex4ht to create pictures also for formulas starting with '$'
51
% WARNING: a tex4ht run now takes forever!
52
\Configure{$}{\PicMath}{\EndPicMath}{}
53
%$ % <- syntax highlighting fix for emacs
54
\Css{body {text-align:justify;}}
55
56
%conversion of .pdf to .png
57
\Configure{graphics*}
58
{pdf}
59
{\Needs{"convert \csname Gin@base\endcsname.pdf
60
\csname Gin@base\endcsname.png"}%
61
\Picture[pict]{\csname Gin@base\endcsname.png}%
62
}
63
\fi
64
65
%\VerbatimFootnotes %verbatim text in Fußnoten erlauben. Geht normalerweise nicht.
66
67
\input{commands}
68
\pagenumbering{arabic}
69
\Titelblatt
70
71
%Eigener Seitenstil fuer die Kurzfassung und das Inhaltsverzeichnis
72
\deftriplepagestyle{preamble}{}{}{}{}{}{\pagemark}
73
%Doku zu deftriplepagestyle: scrguide.pdf
74
\pagestyle{preamble}
75
\renewcommand*{\chapterpagestyle}{preamble}
76
77
78
79
%Kurzfassung / abstract
80
%auch im Stil vom Inhaltsverzeichnis
81
\section*{Abstract}
82
83
<Short summary of the thesis>
84
85
\cleardoublepage
86
87
%Solely for German courses of study
88
\section*{Kurzfassung}
89
90
<Kurzfassung der Arbeit>
91
92
\cleardoublepage
93
94
95
% BEGIN: Verzeichnisse
96
97
\iftex4ht
98
\else
99
\microtypesetup{protrusion=false}
100
\fi
101
102
%%%
103
% Literaturverzeichnis ins TOC mit aufnehmen, aber nur wenn nichts anderes mehr hilft!
104
% \addcontentsline{toc}{chapter}{Literaturverzeichnis}
105
%
106
% oder zB
107
%\addcontentsline{toc}{section}{Abkürzungsverzeichnis}
108
%
109
%%%
110
111
%Produce table of contents
112
%
113
%In case you have trouble with headings reaching into the page numbers, enable the following three lines.
114
%Hint by http://golatex.de/inhaltsverzeichnis-schreibt-ueber-rand-t3106.html
115
%
116
%\makeatletter
117
%\renewcommand{\@pnumwidth}{2em}
118
%\makeatother
119
%
120
\tableofcontents
121
122
% Bei einem ungünstigen Seitenumbruch im Inhaltsverzeichnis, kann dieser mit
123
% \addtocontents{toc}{\protect\newpage}
124
% an der passenden Stelle im Fließtext erzwungen werden.
125
126
\listoffigures
127
\listoftables
128
129
%Wird nur bei Verwendung von der lstlisting-Umgebung mit dem "caption"-Parameter benoetigt
130
%\lstlistoflistings
131
%ansonsten:
132
\ifdeutsch
133
\listof{Listing}{Verzeichnis der Listings}
134
\else
135
\listof{Listing}{List of Listings}
136
\fi
137
138
%mittels \newfloat wurde die Algorithmus-Gleitumgebung definiert.
139
%Mit folgendem Befehl werden alle floats dieses Typs ausgegeben
140
\ifdeutsch
141
\listof{Algorithmus}{Verzeichnis der Algorithmen}
142
\else
143
\listof{Algorithmus}{List of Algorithms}
144
\fi
145
%\listofalgorithms %Ist nur für Algorithmen, die mittels \begin{algorithm} umschlossen werden, nötig
146
147
% Abkürzungsverzeichnis
148
\printnoidxglossaries
149
150
\iftex4ht
151
\else
152
%Optischen Randausgleich und Grauwertkorrektur wieder aktivieren
153
\microtypesetup{protrusion=true}
154
\fi
155
156
% END: Verzeichnisse
157
158
159
% Headline and footline
160
\renewcommand*{\chapterpagestyle}{scrplain}
161
\pagestyle{scrheadings}
162
\pagestyle{scrheadings}
163
\ihead[]{}
164
\chead[]{}
165
\ohead[]{\headmark}
166
\cfoot[]{}
167
\ofoot[\usekomafont{pagenumber}\thepage]{\usekomafont{pagenumber}\thepage}
168
\ifoot[]{}
169
170
171
%% vv scroll down for content vv %%
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
204
%
205
% Main content starts here
206
%
207
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
208
209
210
\chapter{Introduction}
211
212
This thesis starts with \cref{chap:k2}.
213
214
We can also typeset \verb|<text>verbatim text</text>|.
215
Backticks are also rendered correctly: \verb|`words in backticks`|.
216
217
\chapter{Chapter Two}
218
\label{chap:k2}
219
220
LaTeX hints are provided in \cref{chap:latexhints}.
221
222
\blinddocument
223
224
\chapter{Related Work}
225
226
Describe relevant scientific literature related to your work.
227
228
\chapter{Conclusion and Outlook}
229
\label{chap:zusfas}
230
231
\section*{Outlook}
232
233
\printbibliography
234
235
All links were last followed on March 17, 2018.
236
237
\appendix
238
\input{latexhints-english}
239
240
\pagestyle{empty}
241
\renewcommand*{\chapterpagestyle}{empty}
242
\Versicherung
243
\end{document}
244
245