/
thesis.tex
242 lines (199 loc) · 6.39 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% MAIN DOCUMENT OF PHD THESIS
%^'0
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% contains all the meta information to your thesis
\input{meta}
\documentclass[a4paper,twoside,openright,12pt,
% options:
%libertine, % turn on Libertine font (font used on ACM papers)
%endnotes, % enable endnotes
%medievalnumerals, % use medieval numerals (https://en.wikipedia.org/wiki/Text_figures, https://de.wikipedia.org/wiki/Medi%C3%A4valziffer)
%ebook, % highlight links
%edoc, % display edoc information, only necessary for final online version; removes logo
cclicense, % add CC license
%phddraft, % use draft mode
%todonotes, % enables the todonotes package
final % disables draft mode and todonotes
]{thesis}
% Own commands and packages
\usepackage{pifont}% http://ctan.org/pkg/pifont
\usepackage{wrapfig}
\usepackage{textgreek}
\usepackage{csquotes}
\usepackage{lscape}
\usepackage{siunitx}
\usepackage{epigraph}
\usepackage{colorprofiles}
%\usepackage[a-2a,mathxmp]{pdfx}
\usepackage{hyperref}
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
\newcommand{\cottontail}{Cottontail~DB}%
\newcommand{\vitrivr}{\emph{vitrivr}}%
\newcommand{\adampro}{ADAM\textsubscript{pro}}
\definecolor{UnibasLightGray}{RGB}{234,234,234}
\definecolor{UnibasAnthracite}{RGB}{45,55,60}
\definecolor{UnibasRed}{RGB}{210,5,55}
\definecolor{UnibasMint}{RGB}{30,165,165}
\definecolor{UnibasMintDark}{RGB}{0,110,110}
\definecolor{UnibasLightMint}{RGB}{192,227,223}
\lstdefinestyle{codestyle}{
backgroundcolor=\color{UnibasLightGray},
commentstyle=\color{UnibasMintDark},
keywordstyle=\color{UnibasRed},
stringstyle=\color{UnibasMint},
basicstyle=\ttfamily\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstdefinelanguage{json}{
basicstyle=\normalfont\ttfamily,
commentstyle=\color{UnibasMintDark}, % style of comment
stringstyle=\color{UnibasMint}, % style of strings
numbers=left,
numberstyle=\scriptsize,
stepnumber=1,
numbersep=8pt,
showstringspaces=false,
breaklines=true,
frame=lines,
backgroundcolor=\color{UnibasLightGray}, %only if you like
string=[s]{"}{"},
comment=[l]{:\ "},
morecomment=[l]{:"},
literate=
*{0}{{{\color{UnibasRed}0}}}{1}
{1}{{{\color{UnibasRed}1}}}{1}
{2}{{{\color{UnibasRed}2}}}{1}
{3}{{{\color{UnibasRed}3}}}{1}
{4}{{{\color{UnibasRed}4}}}{1}
{5}{{{\color{UnibasRed}5}}}{1}
{6}{{{\color{UnibasRed}6}}}{1}
{7}{{{\color{UnibasRed}7}}}{1}
{8}{{{\color{UnibasRed}8}}}{1}
{9}{{{\color{UnibasRed}9}}}{1}
}
\lstset{style=codestyle}
% add you bibliographic entries
\addbibresource{references/main.bib}
% define your abbreviations
\input{abbreviations}
% specify symbols used
\input{symbols}
\ifdrft{}
% draft mode
\else
% only create indexes and glossaries if not in draft mode
\makeindex
\makeglossaries{}
\fi
\begin{document}
\selectlanguage{USenglish}
% specify hyphenations
\input{hyphenations}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% FRONTMATTER
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frontmatter
\ifdrft{}
% draft front matter
\subincludefrom{frontmatter/title/}{draft}
\else
% front matter
\subincludefrom{frontmatter/title/}{title}
\subincludefrom{frontmatter/handin/}{verso}
% license, add cclicense option above
\ifcclicense{}
\subincludefrom{frontmatter/disclaimer/}{disclaimer}
\fi
%\subincludefrom{frontmatter/dedication/}{dedication}
\subincludefrom{frontmatter/quote/}{quote}
\subincludefrom{frontmatter/abstract/}{zusammenfassung}
\subincludefrom{frontmatter/abstract/}{abstract}
\subincludefrom{frontmatter/acknowledgements/}{acknowledgements}
\subincludefrom{frontmatter/toc/}{toc}
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% MAINMATTER
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mainmatter{}
\part{Introduction}
\subimport{mainmatter/01-introduction/}{main}
\subimport{mainmatter/02-usecases/}{main}
\part{Foundations}
\subimport{mainmatter}{preface-part-02}
\subimport{mainmatter/03-databasesystems/}{main}
\subimport{mainmatter/04-multimediaretrieval/}{main}
\subimport{mainmatter/05-multimediadatabases/}{main}
\part{Dynamic Multimedia Data Management}
\subimport{mainmatter/06-systemmodel/}{main}
\subimport{mainmatter/07-cottontaildb/}{main}
\part{Discussion}
\subimport{mainmatter/08-evaluation/}{main}
\subimport{mainmatter/09-conclusion/}{main}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% APPENDIX
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage{}
\bookmarksetup{startatroot}
\appendix{}
% appendix
% remove appendix figures and tables from table of contents, table of figures, etc.
\captionsetup{list=no}
\appendixpage{} %If you are not using parts, comment this!
\subimport{appendices/01-supplementals/}{main}
\subimport{appendices/02-additional-results/}{main}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% BACKMATTER
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage{}
\bookmarksetup{startatroot}
\ifdrft{} %draft mode
% empty back
\printbibliography{}
\else %non draft mode
\backmatter{}
% back matter
\ifendnotes{}
% endnotes (use \endnote{...})
\printendnotes{}
\fi
% bibliography (use \cite{...})
\printbibliography{}
% index (use \index{...})
\printindex
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% CURRICULUM VITAE
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage{}
\bookmarksetup{startatroot}
\ifdrft{}
% No CV
\else
\subincludefrom{backmatter/memoriam/}{memoriam}
\subincludefrom{backmatter/quote/}{quote}
\subincludefrom{backmatter/cv/}{cv}
%\subincludefrom{backmatter/authorship/}{authorship}
\fi
\end{document}