\documentclass[a4paper,11pt,bibliography=totoc,twoside]{scrbook}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
+\usepackage{ae}
\usepackage[ngerman,english]{babel}
-\usepackage{hyperref,color,url,acronym,graphicx}
+\usepackage{hyperref,color,url,acronym,graphicx,makeidx,amsfonts}
% FIXME hyperref setup
-\newcommand{\todo}[1][\ldots]{\textcolor{red}{\index{Todo}\LARGE TODO:~#1}}
-\newcommand{\definition}[1]{#1} % FIXME: add to glossary and/or index
+\makeindex
-% \begin{acronym}
-% \acronym{GPS}{Global Positioning System}
-% \end{acronym}
+\newcommand{\todo}[1]{\textcolor{red}{\index{Todo}\LARGE TODO:~#1}}
+\newcommand{\definition}[1]{\textit{#1}\index{#1}} % FIXME: add to glossary?
+\newcommand{\cmd}[1]{\texttt{#1}\index{#1}} % FIXME: add to glossary?
+\newcommand{\magicnumber}[1]{\texttt{#1}}
+
+% ignore output, but evaluate command with side-effects
+\newsavebox{\trashbox}
+\newcommand{\ignoreoutput}[1]{\setbox\trashbox\vbox{#1}}
\author{Roland Hieber}
\title{Error modeling of an autonomous, mobile robot}
% \date{July 9, 2011}
\begin{document}
+
\begin{titlepage}
\vskip 60pt
\makeatletter
\pagestyle{headings}
\cleardoublepage
-% FIXME abstract
+% \begin{abstract}
+ \todo{abstract!!!}
+% \end{abstract}
\tableofcontents
\cleardoublepage
-% \listoffigures
-% \cleardoublepage
+\listoffigures
+\cleardoublepage
% \listoftables
% \cleardoublepage
+\chapter*{Table of Acronyms}
+\begin{acronym}
+ \acro{GNU}{GNU's Not Unix}
+ \acro{GPS}{Global Positioning System}
+ \acro{opcode}{operation code}
+ \acro{ROI}{Roomba Open Interface}
+ \acro{SVN}{Subversion}
+ \acro{USB}{Universal Serial Bus}
+\end{acronym}
+
\pagenumbering{arabic}
\pagestyle{headings}
\input{conclusion}
\input{implementation}
-\bibliographystyle{plain}
+\addcontentsline{toc}{chapter}{Index}
+\printindex
+
+\bibliographystyle{alpha}
\bibliography{biblio}
+\nocite{hacking-roomba}
\end{document}