-
Notifications
You must be signed in to change notification settings - Fork 2
/
header.tex
176 lines (137 loc) · 4.31 KB
/
header.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
%%%
%%% Header specific to the thesis
%%%
\makeatletter
\usepackage{parskip}
\usepackage{scrextend}
\usepackage{wrapfig}
\usepackage[nottoc]{tocbibind}
\usepackage{caption}
\usepackage{coqtheorem}
% For the font
\usepackage[T1]{fontenc}
\usepackage{tgpagella}
\usepackage[euler-digits,small]{eulervm}
\linespread{1.025} % Palatino leads a little more leading
\usepackage{fancyhdr}
\usepackage[obeyDraft]{todonotes}
\setlength{\marginparwidth}{3cm}
\usepackage[toc]{glossaries}
\usepackage{natbib}
\bibpunct{[}{]}{,}{n}{,}{;}
%\usepackage[breaklinks, draft=false, pdfusetitle]{hyperref}
\input{Macros.tex}
\input{Environments.tex}
%% Geometrie
\newdimen\lines
\setbox\@tempboxa\hbox{(Programmierung)}
\lines=\ht\@tempboxa
\advance\lines by\dp\@tempboxa
\newlength{\exb}
\settowidth{\exb}{\normalfont x}
\geometry{%
a4paper,%
includehead,% (=> head is part of total body)
ignorefoot,% (=> foot is not part of total body)
top=3cm,% (top of paper |---| top of total body)
totalwidth=70\exb,% (width of total body)
totalheight=215mm,% (height of total body)
headheight=1\lines,%
headsep=2.5\lines,%
foot=4\lines,% (bottom of text body |---| _bottom_ of foot)
hcentering%
}%
\newcommand{\setauthor}[1]{\author{#1}\def\theauthor{#1}}
\newcommand{\settitle}[1]{\title{#1}\def\thetitle{#1}}
\newcommand{\advisor}[1]{\def\theadvisor{#1}}
\newcommand{\reviewerOne}[1]{\def\thereviewerOne{#1}}
\newcommand{\reviewerTwo}[1]{\def\thereviewerTwo{#1}}
\newcommand{\supervisor}[1]{\def\thesupervisor{#1}}
\newcommand{\university}[1]{\def\theuniversity{#1}}
\newcommand{\faculty}[1]{\def\thefaculty{#1}}
\newcommand{\thesistype}[1]{\def\thethesistype{#1}}
\newcommand{\subdate}[3]{\def\thesubday{#1} \def\thesubmonth{#2} \def\thesubyear{#3} }
\newcommand{\city}[1]{\def\thecity{#1}}
\newcommand{\maketitlepage}{
\begin{titlepage}
\begin{center}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\begin{minipage}{0.2\textwidth}
\includegraphics[draft=false,width=0.9\textwidth]{logo.eps}
\end{minipage}
\begin{minipage}{0.7\textwidth}
\centering \textsc{{\Huge \theuniversity}}
\centering \textsc{\footnotesize \thefaculty}
\end{minipage}
\vspace{2.5cm}
\textsc{\thethesistype ~Thesis}\\[0.3cm]
% Title
\HRule \\[0.4cm]
{ \Huge \scshape \thetitle \\[0.4cm] }
\HRule \\[1.5cm]
% Author and supervisor
\noindent
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \Large
\emph{Author}\\
\theauthor
\end{flushleft}
\end{minipage}%
\begin{minipage}{0.4\textwidth}
\begin{flushright} \Large
\emph{Advisor} \\
\theadvisor
\end{flushright}
\end{minipage}
\noindent
\begin{minipage}{1\textwidth}%
\vspace{1cm}
\begin{center} \large
\emph{Supervisor}\\
\thesupervisor
\end{center}%
\end{minipage}%
\noindent
\begin{minipage}{1\textwidth}
\vspace{1cm}
\begin{center} \large
\emph{Reviewers} \\
\thereviewerOne\\
\thereviewerTwo
\end{center}
\end{minipage}
\vfill
{\large Submitted: \thesubday\textsuperscript{th} \thesubmonth~\thesubyear}
\end{center}
\end{titlepage}
}
\newcommand{\statementpage}{
~ \vspace*{2cm} ~
\textbf{Eidesstattliche Erkl\"arung}
Ich erkl\"are hiermit an Eides statt, dass ich die vorliegende Arbeit
selbstst\"andig verfasst und keine anderen als die angegebenen Quellen und
Hilfsmittel verwendet habe.
\textbf{Statement in Lieu of an Oath}
I hereby confirm that I have written this thesis on my own and that I
have not used any other media or materials than the ones referred to in
this thesis.
~ \vspace{3cm} ~
\textbf{Einverst\"andniserkl\"arung}
Ich bin damit einverstanden, dass meine (bestandene) Arbeit in beiden
Versionen in die Bibliothek der Informatik aufgenommen und damit
ver\"offentlicht wird.
% \begin{center}
% \Large
\textbf{Declaration of Consent}
I agree to make both versions of my thesis (with a passing grade)
accessible to the public by having them added to the library of the
Computer Science Department.
\vspace*{3cm}
\thecity, \thesubday$^{\text{th}}$ \thesubmonth, \thesubyear
\newpage
}
\makeatother
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "thesis"
%%% End: