fix title page, main matter and front matter
[bachelor-thesis/written-stuff.git] / Ausarbeitung / main.tex
1 \documentclass[bibtotoc,idxtotoc,twoside,titlepage=yes,a4paper,11pt]{scrbook}
2 \usepackage[utf8x]{inputenc}
3 \usepackage[T1]{fontenc}
4 \usepackage{ae}
5 \usepackage[ngerman,english]{babel}
6 \usepackage{makeidx}%,showidx}
7 \usepackage{hyperref,color,url,acronym,graphicx,amsfonts,amsmath}
8 \usepackage{sidecap} % for SCfigure environment
9 \usepackage{todonotes}
10 \usepackage{enumitem}
11 \usepackage{geometry} %% use local copy for \newgeometry
12 \usepackage{showframe} %% FIXME
13
14 \makeindex
15
16 % \newcommand{\todo}[1]{\textcolor{red}{\index{Todo}\LARGE TODO:~#1}}
17 \newcommand{\definition}[1]{\textit{#1}\index{#1}}
18 \newcommand{\cmd}[1]{\texttt{#1}\index{#1 (command)}}
19 \newcommand{\prog}[1]{\texttt{#1}\index{#1 (program)}}
20 \newcommand{\code}[1]{\texttt{#1}}
21 \newcommand{\class}[1]{\code{#1}\index{#1 (class)}}
22 \newcommand{\file}[1]{\texttt{#1}\index{#1 (file)}}
23 \newcommand{\filepath}[1]{\texttt{#1}}
24 \newcommand{\magicvalue}[1]{\code{#1}}
25 \newcommand{\opcode}[1]{\ac{opcode} \magicvalue{#1}}
26
27 % ignore output, but evaluate command with side-effects
28 \newsavebox{\trashbox}
29 \newcommand{\ignoreoutput}[1]{\setbox\trashbox\vbox{#1}}
30
31 \author{Roland Hieber}
32 \title{Error modeling of an autonomous, mobile robot}
33 % \date{July 9, 2011}
34
35 \makeatletter
36 \hypersetup{
37 colorlinks=false, % FIXME turn of for printing
38 pdftitle={\@title},
39 pdfauthor={\@author},
40 pdfcreator={\@author}
41 }
42 \makeatother
43
44 \begin{document}
45 \pagestyle{headings}
46 \frontmatter
47 \newgeometry{left=0.5cm,right=0.5cm}
48 \begin{titlepage}
49 \vskip 60pt
50 \makeatletter
51 \begin{center}
52 {\large Braunschweig University of Technology}\\
53 {\large Institute of Operating Systems and Computer Networks}\\[2cm]
54 {\large Bachelor Thesis}\\[2cm]
55 {\LARGE \@title \par}
56 \vskip 6em
57 {\large by}\\[.5em]
58 {\large \@author}\\[7em]
59 {\large \bf Thesis Advisors:}\\[.5em]
60 {\large Prof.~Dr.~S\'andor Fekete}\\
61 {\large Dr.~Alexander Kröeller}\\
62 {\large Dipl-Inf.~Tobias Baumgartner}\\
63 \par
64 \vfill
65 {\large Braunschweig - \today}
66 \end{center}
67 \makeatother
68 % \par
69 % thanks?
70 \end{titlepage}
71 \restoregeometry
72 % \cleardoublepage
73
74 \selectlanguage{ngerman}
75 \vspace*{7cm}
76 \centerline{\bf Erklärung}
77 \vspace*{1cm}
78 Ich versichere, die vorliegende Arbeit selbstständig und nur unter Benutzung
79 der angegebenen Hilfsmittel angefertigt zu haben.
80
81 \vspace*{3cm}
82 Braunschweig, den \today
83
84 \selectlanguage{english}
85 % \pagestyle{headings}
86 \cleardoublepage
87
88 % \begin{abstract}
89 \todo{abstract!!!}
90 % \end{abstract}
91
92 % \cleardoublepage
93
94 % \pagenumbering{arabic}
95 % \pagestyle{headings}
96 \thispagestyle{empty}
97 \mainmatter
98 \tableofcontents
99 \cleardoublepage
100 \listoffigures
101 \cleardoublepage
102 % \listoftables
103 % \cleardoublepage
104
105 \input{acronyms}
106 % \cleardoublepage
107
108 % chapters
109 \input{introduction}
110 \input{preliminaries}
111 \input{experiment1}
112 \input{experiment2}
113 \input{experiment3}
114 \input{conclusion}
115 \input{implementation}
116
117 %\addcontentsline{toc}{chapter}{Index}
118 \printindex
119
120 \bibliographystyle{alpha}
121 \bibliography{biblio}
122 \nocite{hacking-roomba}
123
124 \end{document}
This page took 0.059844 seconds and 5 git commands to generate.