2018-05-09 13:05:55 +02:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% Setup des Dokuments
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2018-05-09 13:14:45 +02:00
|
|
|
\documentclass[12pt,a4paper,twoside,parskip=half-,headsepline,headinclude]{scrreprt} % Grundgröße 12pt, zweiseitig
|
2018-05-09 13:05:55 +02:00
|
|
|
% Packages from template
|
2018-05-09 13:14:45 +02:00
|
|
|
\usepackage[headsepline,automark]{scrlayer-scrpage} % Seitenköpfe automatisch
|
2018-05-09 13:05:55 +02:00
|
|
|
\KOMAoptions{headinclude} % Fix
|
|
|
|
\usepackage[german]{babel} % Sprachpaket für Deutsch (Umlaute, Trennung,deutsche Überschriften)
|
2018-08-08 18:49:38 +02:00
|
|
|
\usepackage{graphicx} % Graphikeinbindung
|
|
|
|
\usepackage{hyperref} % Hyperref (alles klickbar, Bookmarks)
|
2018-05-09 13:05:55 +02:00
|
|
|
\usepackage{amssymb} % Math. Symbole aus AmsTeX
|
|
|
|
\usepackage[utf8]{inputenc} % Umlaute
|
|
|
|
% Custom packages
|
|
|
|
\usepackage[autostyle=true,german=quotes]{csquotes} % Anführungszeichen mit \enquote{}
|
|
|
|
\usepackage{textcomp} % Zusätzliches Package für °C
|
|
|
|
\usepackage{listings} % Codesnippets
|
|
|
|
\usepackage{scrhack} % Hack for lstlisting i suspect :-/
|
|
|
|
\usepackage{xcolor}
|
|
|
|
\usepackage{float}
|
|
|
|
\usepackage{soul}
|
|
|
|
\usepackage{verbatim} % für comment-environment
|
|
|
|
\usepackage{amsmath}
|
2018-07-04 12:12:11 +02:00
|
|
|
\usepackage{enumitem} % enumerate mit benutzerdefinierten Labels
|
2018-06-03 15:18:24 +02:00
|
|
|
\usepackage{caption}
|
|
|
|
\captionsetup[table]{skip=8pt}
|
2018-05-09 13:05:55 +02:00
|
|
|
% Setup für Codeblocks
|
|
|
|
\lstset{
|
|
|
|
% Optionen
|
|
|
|
breaklines=true,
|
|
|
|
breakatwhitespace=true,
|
|
|
|
breakautoindent=true,
|
|
|
|
frame=single,
|
|
|
|
%framexleftmargin=19pt,
|
|
|
|
inputencoding=utf8,
|
|
|
|
%language=awk,
|
|
|
|
%numbers=left,
|
|
|
|
%numbersep=8pt,
|
|
|
|
showspaces=false,
|
|
|
|
showstringspaces=false,
|
|
|
|
tabsize=1,
|
|
|
|
%xleftmargin=19pt,
|
|
|
|
captionpos=b,
|
|
|
|
% Styling
|
|
|
|
basicstyle=\footnotesize\ttfamily,
|
|
|
|
commentstyle=\footnotesize,
|
|
|
|
keywordstyle=\footnotesize\ttfamily,
|
|
|
|
numberstyle=\footnotesize,
|
|
|
|
stringstyle=\footnotesize\ttfamily,
|
|
|
|
}
|
|
|
|
% Hack für Sonderzeichen in Codeblocks
|
|
|
|
\lstset{literate=%
|
|
|
|
{Ö}{{\"O}}1
|
|
|
|
{Ä}{{\"A}}1
|
|
|
|
{Ü}{{\"U}}1
|
|
|
|
{ß}{{\ss}}1
|
|
|
|
{ü}{{\"u}}1
|
|
|
|
{ä}{{\"a}}1
|
|
|
|
{ö}{{\"o}}1
|
|
|
|
{°}{{${^\circ}$}}1
|
|
|
|
}
|
|
|
|
|
|
|
|
% Befehl für TODO-Markierungen
|
2018-05-19 10:49:02 +02:00
|
|
|
\newcommand{\todo}[1]{\textcolor{blue}{\emph{TODO: #1}}}
|
2018-05-09 13:05:55 +02:00
|
|
|
|
|
|
|
% Befehl für Entwürfe und grobe Pläne
|
|
|
|
%\newenvironment{draft}{\par\color{orange}\begin{center}Entwurf / Konzept\end{center}\hrule}{\hrule\par}
|
|
|
|
|
|
|
|
% Broken citation needs broken command
|
|
|
|
\newcommand\mathplus{+}
|
|
|
|
|
|
|
|
% Festlegung Kopf- und Fußzeile
|
|
|
|
\defpagestyle{meinstil}{%
|
|
|
|
{\headmark \hfill}
|
|
|
|
{\hfill \headmark}
|
|
|
|
{\hfill \headmark\hfill}
|
|
|
|
(\textwidth,.4pt)
|
|
|
|
}{%
|
|
|
|
(\textwidth,.4pt)
|
|
|
|
{\pagemark\hfill Jan Philipp Timme}
|
|
|
|
{Version 1.0 vom \today \hfill \pagemark}
|
|
|
|
{Version 1.0 vom \today \hfill \pagemark}
|
|
|
|
}
|
|
|
|
\pagestyle{meinstil}
|
|
|
|
|
|
|
|
\raggedbottom
|
|
|
|
|
|
|
|
\renewcommand{\topfraction}{1}
|
|
|
|
\renewcommand{\bottomfraction}{1}
|
2018-07-02 15:49:36 +02:00
|
|
|
|
2018-05-09 13:05:55 +02:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% Beginn des Dokuments (Titelseite und der ganze Krempel)
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\begin{document}
|
|
|
|
|
2018-09-03 10:33:54 +02:00
|
|
|
\input{MA-Titelseite.tex}
|
|
|
|
\input{MA-Erklaerung.tex}
|
2018-05-09 13:05:55 +02:00
|
|
|
|
|
|
|
% Inhaltsverzeichnis
|
2018-09-03 10:33:54 +02:00
|
|
|
\pdfbookmark[0]{Inhalt}{contents}
|
2018-05-09 13:05:55 +02:00
|
|
|
\tableofcontents
|
|
|
|
|
|
|
|
% Abbildungsverzeichnis
|
|
|
|
%\listoffigures
|
2018-09-03 10:33:54 +02:00
|
|
|
|
2018-05-09 13:05:55 +02:00
|
|
|
% Codeverzeichnis
|
2018-06-03 15:18:24 +02:00
|
|
|
%\lstlistoflistings
|
2018-09-03 10:33:54 +02:00
|
|
|
|
2018-05-09 13:05:55 +02:00
|
|
|
% Tabellenverzeichnis
|
|
|
|
%\listoftables
|
|
|
|
|
|
|
|
\newpage
|
2018-08-07 17:20:14 +02:00
|
|
|
|
2018-09-03 10:33:54 +02:00
|
|
|
% Inhalte
|
|
|
|
\input{MA-Inhalt.tex}
|
2018-05-09 13:05:55 +02:00
|
|
|
|
|
|
|
% Literaturverzeichnis
|
|
|
|
\clearpage
|
|
|
|
% Schlüssel als Buchstaben
|
|
|
|
\bibliographystyle{alpha}
|
|
|
|
\bibliography{Literaturverweise}
|
|
|
|
% Und JETZT zum Inhaltsverzeichnis hinzufügen. Geil!
|
|
|
|
\addcontentsline{toc}{chapter}{Literaturverweise}
|
2018-09-03 10:33:54 +02:00
|
|
|
|
2018-05-09 13:05:55 +02:00
|
|
|
\end{document}
|
2018-09-03 10:33:54 +02:00
|
|
|
% Nothing beyond this line!
|