fix title page, main matter and front matter
authorRoland Hieber <rohieb@rohieb.name>
Fri, 29 Jul 2011 20:47:06 +0000 (22:47 +0200)
committerRoland Hieber <rohieb@rohieb.name>
Fri, 29 Jul 2011 21:02:40 +0000 (23:02 +0200)
Ausarbeitung/main.tex

index 0749682..454d247 100644 (file)
@@ -1,38 +1,19 @@
-\documentclass[a4paper,11pt,bibliography=totoc,twoside]{scrbook}
+\documentclass[bibtotoc,idxtotoc,twoside,titlepage=yes,a4paper,11pt]{scrbook}
 \usepackage[utf8x]{inputenc}
 \usepackage[T1]{fontenc}
 \usepackage{ae}
 \usepackage[ngerman,english]{babel}
 \usepackage{makeidx}%,showidx}
 \usepackage[utf8x]{inputenc}
 \usepackage[T1]{fontenc}
 \usepackage{ae}
 \usepackage[ngerman,english]{babel}
 \usepackage{makeidx}%,showidx}
-% evil hack to enable command expansion in \index
-% \makeatletter
-% \def\makeindex{%
-%   \newwrite\@indexfile
-%   \immediate\openout\@indexfile=\jobname.idx
-%   \def\index{\@bsphack\begingroup
-%               \@sanitize
-%               \@wrindex} \typeout
-%     {Writing custom index file \jobname.idx}%
-%   \let\makeindex\@empty
-% }
-% \def\@wrindex#1{%
-%   \edef\@wrindex@params{#1}%
-%   \protected@write\@indexfile{}%
-%     {\string\indexentry{\@wrindex@params}{\thepage}}%
-%   \endgroup\@esphack}
-% \def\T1{\@empty} % someone needs this... don't know why
-% \let\@origindex\index
-% \renewcommand{\index}[1]{\expandafter\@origindex{#1}}
-% \def\index#1{\expandafter\@datrueindex{#1}\typeout{new index used}}
-% \makeatother
 \usepackage{hyperref,color,url,acronym,graphicx,amsfonts,amsmath}
 \usepackage{hyperref,color,url,acronym,graphicx,amsfonts,amsmath}
-\usepackage{sidecap}
+\usepackage{sidecap} % for SCfigure environment
 \usepackage{todonotes}
 \usepackage{enumitem}
 \usepackage{todonotes}
 \usepackage{enumitem}
+\usepackage{geometry}  %% use local copy for \newgeometry
+\usepackage{showframe} %% FIXME
 
 \makeindex
 
 
 \makeindex
 
-%\newcommand{\todo}[1]{\textcolor{red}{\index{Todo}\LARGE TODO:~#1}}
+% \newcommand{\todo}[1]{\textcolor{red}{\index{Todo}\LARGE TODO:~#1}}
 \newcommand{\definition}[1]{\textit{#1}\index{#1}}
 \newcommand{\cmd}[1]{\texttt{#1}\index{#1 (command)}}
 \newcommand{\prog}[1]{\texttt{#1}\index{#1 (program)}}
 \newcommand{\definition}[1]{\textit{#1}\index{#1}}
 \newcommand{\cmd}[1]{\texttt{#1}\index{#1 (command)}}
 \newcommand{\prog}[1]{\texttt{#1}\index{#1 (program)}}
   pdfauthor={\@author},
   pdfcreator={\@author}
 }
   pdfauthor={\@author},
   pdfcreator={\@author}
 }
+\makeatother
 
 \begin{document}
 
 \begin{document}
-\pagenumbering{roman}
-
+\pagestyle{headings}
+\frontmatter
+\newgeometry{left=0.5cm,right=0.5cm}
 \begin{titlepage}
   \vskip 60pt
 \begin{titlepage}
   \vskip 60pt
+  \makeatletter
   \begin{center}
     {\large Braunschweig University of Technology}\\
     {\large Institute of Operating Systems and Computer Networks}\\[2cm]
   \begin{center}
     {\large Braunschweig University of Technology}\\
     {\large Institute of Operating Systems and Computer Networks}\\[2cm]
     \vskip 6em
     {\large by}\\[.5em]
     {\large \@author}\\[7em]
     \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}
     \par
     \vfill
     {\large Braunschweig - \today}
@@ -82,7 +68,8 @@
 %   \par
   % thanks?
 \end{titlepage}
 %   \par
   % thanks?
 \end{titlepage}
-\cleardoublepage
+\restoregeometry
+% \cleardoublepage
 
 \selectlanguage{ngerman}
 \vspace*{7cm}
 
 \selectlanguage{ngerman}
 \vspace*{7cm}
@@ -95,17 +82,19 @@ der angegebenen Hilfsmittel angefertigt zu haben.
 Braunschweig, den \today
 
 \selectlanguage{english}
 Braunschweig, den \today
 
 \selectlanguage{english}
-\pagestyle{headings}
+\pagestyle{headings}
 \cleardoublepage
 
 % \begin{abstract}
   \todo{abstract!!!}
 % \end{abstract}
 
 \cleardoublepage
 
 % \begin{abstract}
   \todo{abstract!!!}
 % \end{abstract}
 
-\cleardoublepage
-\pagenumbering{arabic}
-\pagestyle{headings}
+% \cleardoublepage
 
 
+% \pagenumbering{arabic}
+% \pagestyle{headings}
+\thispagestyle{empty}
+\mainmatter
 \tableofcontents
 \cleardoublepage
 \listoffigures
 \tableofcontents
 \cleardoublepage
 \listoffigures
@@ -114,7 +103,7 @@ Braunschweig, den \today
 % \cleardoublepage
 
 \input{acronyms}
 % \cleardoublepage
 
 \input{acronyms}
-\cleardoublepage
+\cleardoublepage
 
 % chapters
 \input{introduction}
 
 % chapters
 \input{introduction}
@@ -125,7 +114,7 @@ Braunschweig, den \today
 \input{conclusion}
 \input{implementation}
 
 \input{conclusion}
 \input{implementation}
 
-\addcontentsline{toc}{chapter}{Index}
+%\addcontentsline{toc}{chapter}{Index}
 \printindex
 
 \bibliographystyle{alpha}
 \printindex
 
 \bibliographystyle{alpha}
This page took 0.027768 seconds and 4 git commands to generate.