X-Git-Url: https://git.rohieb.name/bachelor-thesis/written-stuff.git/blobdiff_plain/e29146877ebf1c77b2b31ad1fa804547286b2a21..cbbf1119f4b08f1a8d8eef497380c589778c5068:/Ausarbeitung/main.tex diff --git a/Ausarbeitung/main.tex b/Ausarbeitung/main.tex index d4a87f8..9968bdb 100644 --- a/Ausarbeitung/main.tex +++ b/Ausarbeitung/main.tex @@ -1,23 +1,36 @@ -\documentclass[a4paper,11pt,bibliography=totoc,twoside]{scrbook} +\documentclass[bibliography=totoc,index=totoc,twoside,titlepage=yes,a4paper,% + 11pt]{scrbook} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{ae} \usepackage[ngerman,english]{babel} -\usepackage{hyperref,color,url,acronym,graphicx,makeidx,amsfonts,amsmath} -\usepackage{sidecap} +\usepackage{makeidx}%,showidx} +\usepackage{hyperref,color,url,acronym,graphicx,amsfonts,amsmath} +\usepackage{sidecap} % for SCfigure environment \usepackage{todonotes} - -% FIXME hyperref setup +\usepackage{enumitem} +\usepackage{geometry} %% use local copy for \newgeometry +\usepackage{showframe} %% FIXME \makeindex -%\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{\todo}[1]{\textcolor{red}{\index{Todo}\LARGE TODO:~#1}} +\newcommand{\deffont}[1]{\textit{#1}} +\newcommand{\definition}[1]{\deffont{#1}\index{#1}} +\newcommand{\cmd}[1]{\texttt{#1}\index{#1 (command)}} +\newcommand{\progfont}[1]{\textsf{#1}} +\newcommand{\prog}[1]{\progfont{#1}\index{#1 (program)}} \newcommand{\code}[1]{\texttt{#1}} -\newcommand{\magicnumber}[1]{\texttt{#1}} -\newcommand{\opcode}[1]{\ac{opcode} \magicnumber{#1}} +\newcommand{\fnfont}[1]{\textsf{#1}} +\newcommand{\classfont}[1]{\textsf{#1}} +\newcommand{\class}[1]{\classfont{#1}\index{#1 (class)}} +\newcommand{\conceptfont}[1]{\textsf{#1}} +\newcommand{\concept}[1]{\conceptfont{#1}\index{#1 (concept)}} +\newcommand{\filefont}[1]{\textsf{#1}} +\newcommand{\file}[1]{\filefont{#1}\index{#1 (file)}} +\newcommand{\filepath}[1]{\filefont{#1}} +\newcommand{\magicvalue}[1]{\code{#1}} +\newcommand{\opcode}[1]{\ac{opcode} \magicvalue{#1}} % ignore output, but evaluate command with side-effects \newsavebox{\trashbox} @@ -27,8 +40,19 @@ \title{Error modeling of an autonomous, mobile robot} % \date{July 9, 2011} -\begin{document} +\makeatletter +\hypersetup{ + colorlinks=false, % FIXME turn of for printing + pdftitle={\@title}, + pdfauthor={\@author}, + pdfcreator={\@author} +} +\makeatother +\begin{document} +\pagestyle{headings} +\frontmatter +\newgeometry{left=0.5cm,right=0.5cm} \begin{titlepage} \vskip 60pt \makeatletter @@ -40,8 +64,10 @@ \vskip 6em {\large by}\\[.5em] {\large \@author}\\[7em] - {\large \bf Thesis Advisor:}\\[.5em] - {\large Prof. Dr. S\'andor Fekete}\\ + {\large \bf Thesis Advisors:}\\[.5em] + {\large Prof.~Dr.~S\'andor Fekete}\\ + {\large Dr.~Alexander Kröeller}\\ + {\large Dipl-Inf.~Tobias Baumgartner}\\ \par \vfill {\large Braunschweig - \today} @@ -50,7 +76,8 @@ % \par % thanks? \end{titlepage} -\cleardoublepage +\restoregeometry +% \cleardoublepage \selectlanguage{ngerman} \vspace*{7cm} @@ -63,43 +90,28 @@ der angegebenen Hilfsmittel angefertigt zu haben. Braunschweig, den \today \selectlanguage{english} -\pagestyle{headings} +% \pagestyle{headings} \cleardoublepage % \begin{abstract} \todo{abstract!!!} % \end{abstract} +% \cleardoublepage + +% \pagenumbering{arabic} +% \pagestyle{headings} +\thispagestyle{empty} +\mainmatter \tableofcontents \cleardoublepage \listoffigures \cleardoublepage % \listoftables % \cleardoublepage -\chapter*{Table of Acronyms} -\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} -\pagestyle{headings} + +\input{acronyms} +% \cleardoublepage % chapters \input{introduction} @@ -110,7 +122,7 @@ Braunschweig, den \today \input{conclusion} \input{implementation} -\addcontentsline{toc}{chapter}{Index} +%\addcontentsline{toc}{chapter}{Index} \printindex \bibliographystyle{alpha}