123 lines
3.2 KiB
TeX
123 lines
3.2 KiB
TeX
% !TeX root = main.tex
|
|
|
|
% Preamble
|
|
% !IMPORTANT! Do not change the font size here, but after the \begin{document} markup
|
|
\documentclass[12pt,a4paper,oneside,listof=totoc,abstract=on,parskip=half]{scrreprt}
|
|
|
|
\include{customization/text-variables}
|
|
|
|
% Packages
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage[ngerman]{babel}
|
|
\usepackage[autostyle=true,german=quotes]{csquotes}
|
|
\usepackage{float}
|
|
\usepackage{fontspec} % for using own font
|
|
\usepackage{multicol}
|
|
\usepackage[includeheadfoot,left=40mm,right=25mm,top=25mm,bottom=25mm,footskip=10mm]{geometry}
|
|
\usepackage[singlespacing=true]{scrlayer-scrpage} % for header / footer
|
|
\usepackage{graphicx}
|
|
\usepackage[hidelinks,pdftitle={\paperName},pdfauthor={\author},pdfsubject={\title},pdfpagemode=UseOutlines,pdfdisplaydoctitle=true,pdflang=german]{hyperref}
|
|
\usepackage{setspace}
|
|
\usepackage{xcolor}
|
|
\usepackage[printonlyused, footnote]{acronym}
|
|
\usepackage[toc]{glossaries}
|
|
\usepackage{listings}
|
|
\usepackage{anyfontsize}
|
|
\usepackage{pdfpages}
|
|
\usepackage{scrhack} % Remove \float@addtolists warning from listings package
|
|
|
|
\usepackage[backend=biber,bibwarn=true,bibencoding=utf8,style=numeric-comp,sorting=none]{biblatex}
|
|
\usepackage{import}
|
|
|
|
% For external link icon
|
|
\usepackage{tikz}
|
|
\newcommand{\ExternalLink}{%
|
|
\tikz[x=1.2ex, y=1.2ex, baseline=-0.05ex]{%
|
|
\begin{scope}[x=1ex, y=1ex]
|
|
\clip (-0.1,-0.1)
|
|
--++ (-0, 1.2)
|
|
--++ (0.6, 0)
|
|
--++ (0, -0.6)
|
|
--++ (0.6, 0)
|
|
--++ (0, -1);
|
|
\path[draw,
|
|
line width = 0.5,
|
|
rounded corners=0.5]
|
|
(0,0) rectangle (1,1);
|
|
\end{scope}
|
|
\path[draw, line width = 0.5] (0.5, 0.5)
|
|
-- (1, 1);
|
|
\path[draw, line width = 0.5] (0.6, 1)
|
|
-- (1, 1) -- (1, 0.6);
|
|
}
|
|
}
|
|
|
|
\addbibresource{main.bib}
|
|
|
|
\include{customization/variables}
|
|
\include{customization/style}
|
|
|
|
% Document
|
|
\begin{document}
|
|
\setcounter{secnumdepth}{3}
|
|
\setcounter{tocdepth}{2}
|
|
|
|
\fontsize{13pt}{13pt}\selectfont
|
|
\pagenumbering{arabic}
|
|
|
|
\input{includes/cover}
|
|
|
|
\pagenumbering{Roman} % Römische Seitenzahlen
|
|
|
|
\cleardoublepage
|
|
\input{includes/statementofauthorship}
|
|
|
|
\cleardoublepage
|
|
\input{includes/abstract}
|
|
|
|
|
|
% Inhaltsverzeichnis
|
|
\cleardoublepage
|
|
\begin{spacing}{1.25}
|
|
\KOMAoptions{toc=chapterentrydotfill}
|
|
\tableofcontents
|
|
\end{spacing}
|
|
|
|
|
|
% Abbildungsverzeichnis
|
|
\cleardoublepage
|
|
\listoffigures
|
|
|
|
|
|
% Quellcodeverzeichnis
|
|
\cleardoublepage
|
|
\renewcommand\lstlistlistingname{Quellcodeverzeichnis}
|
|
\lstlistoflistings
|
|
|
|
% Abkürzungsverzeichnis
|
|
\cleardoublepage
|
|
\chapter*{Abkürzungsverzeichnis}
|
|
\addcontentsline{toc}{chapter}{Abkürzungsverzeichnis}
|
|
\begin{acronym}[AAAAAA]
|
|
\input{includes/acronyms-sort}
|
|
\end{acronym}
|
|
|
|
\cleardoublepage
|
|
\pagenumbering{arabic} % Arabische Seitenzahlen
|
|
|
|
% Kapitel
|
|
\cleardoublepage
|
|
\input{content/01-00-chapter}
|
|
\input{content/02-00-chapter}
|
|
\input{content/03-00-chapter}
|
|
|
|
|
|
% Literatur
|
|
\cleardoublepage
|
|
\printbibliography[heading=bibintoc,title=Literaturverzeichnis]
|
|
|
|
% Anhang
|
|
\cleardoublepage
|
|
\include{content/08_anhang/anhang}
|
|
\end{document}
|