\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,makeidx,amsfonts}
+\usepackage{hyperref,color,url,acronym,graphicx,makeidx,amsfonts,amsmath}
+\usepackage{sidecap}
+\usepackage{todonotes}
% FIXME hyperref setup
\makeindex
-\newcommand{\todo}[1]{\textcolor{red}{\index{Todo}\LARGE TODO:~#1}}
-\newcommand{\definition}[1]{#1\index{#1}} % FIXME: add to glossary and/or index
-\newcommand{\cmd}[1]{\texttt{#1}\index{#1}} % FIXME: add to glossary and/or
+%\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 (command)}} % FIXME: add to glossary?
+\newcommand{\prog}[1]{\texttt{#1}\index{#1 (program)}} % FIXME: add to glossary?
+\newcommand{\code}[1]{\texttt{#1}}
+\newcommand{\magicnumber}[1]{\texttt{#1}}
+\newcommand{\opcode}[1]{\ac{opcode} \magicnumber{#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}
\pagestyle{headings}
\cleardoublepage
-% FIXME abstract
+% \begin{abstract}
+ \todo{abstract!!!}
+% \end{abstract}
\tableofcontents
\cleardoublepage
% \listoftables
% \cleardoublepage
\chapter*{Table of Acronyms}
-\begin{acronym}
- \acro{GPS}{Global Positioning System}
- \acro{USB}{Universal Serial Bus}
- \acro{SVN}{Subversion}
- \acro{GNU}{GNU's Not Unix}
+\begin{acronym}[opcode]
+ \acro{8N1}{8 data bits, no parity, 1 start/stop bit}
+ \acro{DC}{Direct Current}
+ \acro{DIN}{Deutsches Institut für Normung (German Institute for
+ Standardization)}
+ \acro{GNU}{GNU's Not Unix}
+ \acro{GPS}{Global Positioning System}
+ \acro{ISO}{International Standardization Organization}
+ \acro{LED}{Light-Emitting Diode}
+ \acro{NiMH}{Nickel-Metal Hydride}
+ \acro{opcode}{operation code}
+ \acro{OS}{operating system}
+ \acro{pSTL}{pico Standard Template Library}
+ \acro{RAM}{Random Access Memory}
+ \acro{ROI}{Roomba Open Interface}
+ \acro{STL}{Standard Template Library}
+ \acro{SVN}{Subversion}
+ \acro{TTL}{Transistor-Transistor Logic}
+ \acro{USB}{Universal Serial Bus}
\end{acronym}
\pagenumbering{arabic}
\input{conclusion}
\input{implementation}
+\addcontentsline{toc}{chapter}{Index}
\printindex
-\bibliographystyle{plain}
+\bibliographystyle{alpha}
\bibliography{biblio}
+\nocite{hacking-roomba}
\end{document}