0749682e40f3b4fabf22e4c6357215e3997848dd
[bachelor-thesis/written-stuff.git] / Ausarbeitung / main.tex
1 \documentclass[a4paper,11pt,bibliography=totoc,twoside]{scrbook}
2 \usepackage[utf8x]{inputenc}
3 \usepackage[T1]{fontenc}
4 \usepackage{ae}
5 \usepackage[ngerman,english]{babel}
6 \usepackage{makeidx}%,showidx}
7 % evil hack to enable command expansion in \index
8 % \makeatletter
9 % \def\makeindex{%
10 % \newwrite\@indexfile
11 % \immediate\openout\@indexfile=\jobname.idx
12 % \def\index{\@bsphack\begingroup
13 % \@sanitize
14 % \@wrindex} \typeout
15 % {Writing custom index file \jobname.idx}%
16 % \let\makeindex\@empty
17 % }
18 % \def\@wrindex#1{%
19 % \edef\@wrindex@params{#1}%
20 % \protected@write\@indexfile{}%
21 % {\string\indexentry{\@wrindex@params}{\thepage}}%
22 % \endgroup\@esphack}
23 % \def\T1{\@empty} % someone needs this... don't know why
24 % \let\@origindex\index
25 % \renewcommand{\index}[1]{\expandafter\@origindex{#1}}
26 % \def\index#1{\expandafter\@datrueindex{#1}\typeout{new index used}}
27 % \makeatother
28 \usepackage{hyperref,color,url,acronym,graphicx,amsfonts,amsmath}
29 \usepackage{sidecap}
30 \usepackage{todonotes}
31 \usepackage{enumitem}
32
33 \makeindex
34
35 %\newcommand{\todo}[1]{\textcolor{red}{\index{Todo}\LARGE TODO:~#1}}
36 \newcommand{\definition}[1]{\textit{#1}\index{#1}}
37 \newcommand{\cmd}[1]{\texttt{#1}\index{#1 (command)}}
38 \newcommand{\prog}[1]{\texttt{#1}\index{#1 (program)}}
39 \newcommand{\code}[1]{\texttt{#1}}
40 \newcommand{\class}[1]{\code{#1}\index{#1 (class)}}
41 \newcommand{\file}[1]{\texttt{#1}\index{#1 (file)}}
42 \newcommand{\filepath}[1]{\texttt{#1}}
43 \newcommand{\magicvalue}[1]{\code{#1}}
44 \newcommand{\opcode}[1]{\ac{opcode} \magicvalue{#1}}
45
46 % ignore output, but evaluate command with side-effects
47 \newsavebox{\trashbox}
48 \newcommand{\ignoreoutput}[1]{\setbox\trashbox\vbox{#1}}
49
50 \author{Roland Hieber}
51 \title{Error modeling of an autonomous, mobile robot}
52 % \date{July 9, 2011}
53
54 \makeatletter
55 \hypersetup{
56 colorlinks=false, % FIXME turn of for printing
57 pdftitle={\@title},
58 pdfauthor={\@author},
59 pdfcreator={\@author}
60 }
61
62 \begin{document}
63 \pagenumbering{roman}
64
65 \begin{titlepage}
66 \vskip 60pt
67 \begin{center}
68 {\large Braunschweig University of Technology}\\
69 {\large Institute of Operating Systems and Computer Networks}\\[2cm]
70 {\large Bachelor Thesis}\\[2cm]
71 {\LARGE \@title \par}
72 \vskip 6em
73 {\large by}\\[.5em]
74 {\large \@author}\\[7em]
75 {\large \bf Thesis Advisor:}\\[.5em]
76 {\large Prof. Dr. S\'andor Fekete}\\
77 \par
78 \vfill
79 {\large Braunschweig - \today}
80 \end{center}
81 \makeatother
82 % \par
83 % thanks?
84 \end{titlepage}
85 \cleardoublepage
86
87 \selectlanguage{ngerman}
88 \vspace*{7cm}
89 \centerline{\bf Erklärung}
90 \vspace*{1cm}
91 Ich versichere, die vorliegende Arbeit selbstständig und nur unter Benutzung
92 der angegebenen Hilfsmittel angefertigt zu haben.
93
94 \vspace*{3cm}
95 Braunschweig, den \today
96
97 \selectlanguage{english}
98 \pagestyle{headings}
99 \cleardoublepage
100
101 % \begin{abstract}
102 \todo{abstract!!!}
103 % \end{abstract}
104
105 \cleardoublepage
106 \pagenumbering{arabic}
107 \pagestyle{headings}
108
109 \tableofcontents
110 \cleardoublepage
111 \listoffigures
112 \cleardoublepage
113 % \listoftables
114 % \cleardoublepage
115
116 \input{acronyms}
117 \cleardoublepage
118
119 % chapters
120 \input{introduction}
121 \input{preliminaries}
122 \input{experiment1}
123 \input{experiment2}
124 \input{experiment3}
125 \input{conclusion}
126 \input{implementation}
127
128 \addcontentsline{toc}{chapter}{Index}
129 \printindex
130
131 \bibliographystyle{alpha}
132 \bibliography{biblio}
133 \nocite{hacking-roomba}
134
135 \end{document}
This page took 0.045958 seconds and 3 git commands to generate.