-
Notifications
You must be signed in to change notification settings - Fork 7
/
thesis.tex
122 lines (110 loc) · 3.3 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
\documentclass[
11pt,
a4paper,
twoside,
parskip=half*, % Line spacing for paragraphs
openright, % openany -> on which page should new chapters start
listof=totoc, % Include listings in the table of contents
bibliography=totoc, % adding a bibliography to the table of contents
index=totoc, % add index directory to the table of contents
toc=chapterentrywithdots, % Set dots in the table of contents also for chapters
numbers=noenddot, % removes the last dot after X.X.X.
%chapterprefix=true % changes the display of the chapter, adds "Chapter" to the chapter number
]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{url}
\usepackage[autostyle=true,german=quotes]{csquotes}
\usepackage[T1]{fontenc}
\usepackage{pdfpages}
\usepackage{textcomp}
\usepackage{amsmath} % math environment
% ---------------------------
% | Meta-Data for PDF |
% ---------------------------
\usepackage[
pdftex,
pdfauthor={Jon Doe},
pdftitle={Thesis Template},
pdfsubject={Bachelorthesis},
pdfkeywords={Thesis;Template;LaTeX},
pdfproducer={LaTeX},
pdfcreator={pdfLaTeX},
pdfduplex={DuplexFlipLongEdge}, %Alt.: Simplex or DuplexFlipShortEdge
pdflang={de}, % en
bookmarksopen,
bookmarksnumbered,
]{hyperref}
% ------------------
% | Settings |
% ------------------
\input{settings/bibliography.tex}
\input{settings/graphics.tex}
\input{settings/tables.tex}
\input{settings/colors.tex}
\input{settings/layout.tex}
\input{settings/listings.tex}
\input{settings/links.tex}
\input{settings/commands}
\input{settings/bookmarks}
\begin{document}
% -------------------
% | Titlepage |
% -------------------
% \includepdf[pages=-,templatesize={145mm}{210mm},noautoscale=true,offset=-65 50]{myfile.pdf}
\includepdf[pages={1},offset=25 -40]{chapters/deckblatt.pdf}
% \input{chapters/titlepage} % Use latex title page
% ------------------
% | Abstract |
% ------------------
\cleardoubleoddpage
\pdfbookmark[section]{Kurzfassung}{abstract} % Abstract as bookmark
\input{chapters/abstract}
\input{chapters/eid}
% ---------------------------
% | Table of contents |
% ---------------------------
\cleardoubleoddpage
\pdfbookmark[section]{\contentsname}{toc} % toc is part of the bookmarks but not part the toc itself
\newpage\thispagestyle{empty}
{
\pagestyle{empty}
\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents
\clearpage
}
% -----------------
% | Indexes |
% -----------------
\frontmatter
\pagenumbering{Roman}
\listoffigures
\listoftables
\lstlistoflistings
% ------------------
% | Chapters |
% ------------------
\mainmatter
\setcounter{page}{1}
\input{chapters/chapter1}
\input{chapters/chapter2}
\input{chapters/chapter3}
\input{chapters/chapter4}
\input{chapters/chapter5}
% ------------------
% | Appendix |
% ------------------
\appendix
\cleardoubleoddpage
\pagenumbering{Roman}
\setcounter{page}{7}
\input{chapters/appendix}
% ----------------------
% | Bibliography |
% ----------------------
\printbibliography
% \printbibheading[title=Literatur]
% \printbibliography[heading=subbibliography, type=online, title={Online}]
% \printbibliography[heading=subbibliography, type=book, title={Literatur}]
% \printbibliography[heading=subbibliography,title={Der ganze Rest},nottype=online,notkeyword=Norm,notkeyword=sekundaer]
\end{document}