Files
master_thesis/Thesis/main.tex
2017-03-07 09:32:55 +01:00

122 lines
3.8 KiB
TeX

% ------------------------------------------------------------------------------
% Template for thesis
% ------------------------------------------------------------------------------
% Document Header --------------------------------------------------------------
% Template extending koma-script.
% ------------------------------------------------------------------------------
\documentclass[
11pt, % font size
DIV10,
ngerman, % for german language
a4paper, % paper format
oneside, % onepage document
titlepage, % use a cover page
parskip=half, % padding between paragraphs
headings=normal, % decrease size of headlines
listof=totoc, % list directories in table of contents
bibliography=totoc, % list bibliography in table of contents
index=totoc, % list index in table of contents
captions=tableheading, % location of table captions below table
final % status of document (draft / final)
]{scrreprt}
% Meta informations ------------------------------------------------------------
% Static informations like author, institute etc are defined in meta.tex
% ------------------------------------------------------------------------------
\input{meta}
% Package dependencies ---------------------------------------------------------
% LaTeX-dependencies are defined in packages.tex
% ------------------------------------------------------------------------------
\input{packages}
% Create index and glossary ----------------------------------------------------
\makeindex
\makeglossaries
% Headlines, margins. ----------------------------------------------------------
\input{pagestyle}
% My custom hyphenations
\include{hyphenation}
% My custom LaTeX-commands
\include{commands}
% Main document ----------------------------------------------------------------
% The actual document. The different parts are included and themself defined in tex documents in the content directory.
% ------------------------------------------------------------------------------
\begin{document}
% Cover and abstract without page numbers
\ofoot{}
\include{cover}
\include{content/abstract}
\ofoot{\pagemark}
% Paging -----------------------------------------------------------------------
% Main sections with capital roman numbering
% ------------------------------------------------------------------------------
\pagenumbering{Roman}
% Table of content depth
\setcounter{secnumdepth}{1}
\setcounter{tocdepth}{1}
\tableofcontents
% Glossary ---------------------------------------------------------------------
\input{glossar}
% Correct headline in header
\clearpage\markboth{\glossar}{\glossar}
\printglossaries
\label{sec:glossar}
\listoffigures
\listoftables
\lstlistoflistings
% arabic paging in main content ------------------------------------------------
\clearpage
\pagenumbering{arabic}
% Main content
% include each chapter here
%
\input{content/Introduction}
\input{content/DNS}
\clearpage
% Appendix ---------------------------------------------------------------------
% Appendix is included like main content in appendix.tex
% ------------------------------------------------------------------------------
\begin{appendix}
\pagenumbering{roman}
% Adjust margin in table listings
\setdefaultleftmargin{1em}{}{}{}{}{}
\input{appendix}
\end{appendix}
% Bibliography -----------------------------------------------------------------
% Bibliography is created using bibliography.bib
% ------------------------------------------------------------------------------
\bibliography{bibliography} % Call: bibtex main
\bibliographystyle{natdin} % DIN style of bibliography
\include{agreement}
% Index ------------------------------------------------------------------------
% Uncomment if index should be printed
% ------------------------------------------------------------------------------
%\printindex
\end{document}