-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
187 lines (149 loc) · 6.13 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[
%dbse, % include logo of DBSE working group
%german, % titles for a thesis in German, A4 paper
a4paper, % forces A4 format even if <german> is not selected (useful for printing)
hints, % shows instructions on how to write the thesis
%draft, % omit title page, listings, and particular chapters selected below using include only
%print, % the printed version does not use colored links
%final, % removes all TODOs
]{tex/ttthesis}
\input{tex/colorscheme}
\input{tex/lststyles}
\input{tex/tikzstyles}
\input{tex/macros}
%*********************************************************************%
% META %
%*********************************************************************%
% available profiles: ovgu, tubs, tubs_isf
\input{tex/profiles/tubs_isf}
\newcommand{\advisorone}{Prof.\ \todo{Name}}
\newcommand{\departmentone}{\ifgerman{Institut für}{Department of}\todots}
\newcommand{\advisortwo}{}
\newcommand{\departmenttwo}{}
% Thesis kind
\ifgerman{\newcommand{\thesiskind}{Masterarbeit}}{\newcommand{\thesiskind}{Master's Thesis}}
%\ifgerman{\newcommand{\thesiskind}{Bachelorarbeit}}{\newcommand{\thesiskind}{Bachelor Thesis}}
%\newcommand{\thesiskind}{Diplomarbeit} %do not translate
%\ifgerman{\newcommand{\thesiskind}{Doktorarbeit}}{\newcommand{\thesiskind}{Dissertation}}
\ifgerman{
\newcommand{\theforename}{\todo{Vorname}}
\newcommand{\thesurname}{\todo{Nachname}}
\newcommand{\thetitle}{\todo{Titel der Arbeit}}
\newcommand{\thedate}{\todo{13. Monat 2014}}
}{
\newcommand{\theforename}{\todo{Forename}}
\newcommand{\thesurname}{\todo{Surname}}
\newcommand{\thetitle}{\todo{The Title of the Thesis}}
\newcommand{\thedate}{\todo{Month 13, 2014}}
}
\newcommand{\theyear}{\todo{2014}}
% date for signature in erklaerung.tex (declaration of originality)
\newcommand{\signaturedate}{\todo{42. Monat 2014}}
%*********************************************************************%
% SETUP %
%*********************************************************************%
% meta informations of the document
\hypersetup{
pdfauthor={\theforename\ \thesurname},
pdftitle={\thetitle}
}
% open index file
\ifnotdraft{\makeindex}
%*********************************************************************%
% ACRONYMS %
%*********************************************************************%
% HOWTO: \gls{IDE} for singular or \glspl{IDE} for plural with 's
%\makeglossaries
\newacronym{IDE}{IDE}{Integrated Development Environment}
%\glsaddall % use only if you have acronyms that occur only in graphics
%*********************************************************************%
% THE DOCUMENT %
%*********************************************************************%
\begin{document}
\ifgerman{
\labelformat{lstlisting}{Quelltext~#1}
\renewcommand{\lstlistingname}{Quelltext}
}{
\labelformat{lstlisting}{Listing~#1}
}
% set the path where graphics are located
\graphicspath{{pics/}}
\ifnotdraft{
\frontmatter
\pagenumbering{roman}
\include{tex/titlepage}
\include{chapters/abstract}
\blankpage
%\chapter*{Acknowledgements}
%\ldots
%\blankpage
}
%*********************************************************************%
% LISTINGS %
%*********************************************************************%
\ifnotdraft{
{\parskip 0pt \pdfbookmark{\contentsname}{\contentsname}\chapterheadfont \tableofcontents} % toc bitte einzeilig
\blankpage
\ifgerman{
\listoffigures
\addcontentsline{toc}{chapter}{Abbildungsverzeichnis}
\listoftables
\addcontentsline{toc}{chapter}{Tabellenverzeichnis}
\renewcommand{\lstlistlistingname}{Quelltextverzeichnis}
\blankpage
\lstlistoflistings
\addcontentsline{toc}{chapter}{\lstlistlistingname}
%\renewcommand*{\firstacronymfont}[1]{\emph{#1}}
%\printglossary[type=acronym,title=List of Acronyms,toctitle=Abkürzungsverzeichnis]
}{
\listoffigures
\addcontentsline{toc}{chapter}{List of Figures}
\listoftables
\addcontentsline{toc}{chapter}{List of Tables}
\renewcommand{\lstlistlistingname}{List of Code Listings}
\blankpage
\lstlistoflistings
\addcontentsline{toc}{chapter}{\lstlistlistingname}
%\renewcommand*{\firstacronymfont}[1]{\emph{#1}}
%\printglossary[type=acronym,title=List of Acronyms,toctitle=List of Acronyms]
}
}
%*********************************************************************%
% CHAPTERS %
%*********************************************************************%
\mainmatter
\pagenumbering{arabic}
\include{chapters/introduction}
\include{chapters/background}
\include{chapters/example}
\include{chapters/implementation}
\include{chapters/evaluation}
\include{chapters/relatedwork}
\include{chapters/conclusion}
%\include{chapters/futurework}
%*********************************************************************%
% APPENDIX %
%*********************************************************************%
\appendix
\include{chapters/appendix}
%*********************************************************************%
% LITERATURE %
%*********************************************************************%
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname} %
\bibliographystyle{alpha} % plain gerplain abbrvnat unsrtnat alphag alpha
% in a thesis you have space... use full names
\bibliography{literature/IEEEfull,literature/MYfull,literature/literature}
% in a paper, space is limited. use abreviations
%\bibliography{../literature/IEEEabrv,../literature/MYabrv,../literature/literature}
%*********************************************************************%
% ERKLÄRUNG %
%*********************************************************************%
\ifnotdraft{
\cleardoublepage
\phantomsection
\printindex
\include{tex/erklaerung}
}
\end{document}