You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

254 lines
9.2 KiB

%------------------------------------------------------------------------------------
%----Präambel/Preamble---------------------------------------------------------------
%------------------------------------------------------------------------------------
\documentclass[ a4paper,
11pt,
DIV=11,
headings=big,
index=totoc,
listof=totoc,
bibliography=totoc,
parskip=half,
cleardoublepage=empty,
oneside,
openright]{scrartcl}
%------------------------------------------------------------------------------------
\usepackage[UKenglish]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{subfigure}
\usepackage{geometry} % Für newgeometry in Titelseite
\geometry{a4paper,left=30mm,right=20mm}
\usepackage{blindtext}
\usepackage{layout}
\PassOptionsToPackage{hyphens}{url}
\usepackage[pdfborder={0 0 0},
colorlinks=true,
linkcolor=black,
citecolor=red,
]{hyperref}
% Citation
\usepackage[style=numeric, natbib=true]{biblatex}
\addbibresource{ref_shelf.bib}
\usepackage{pdfpages}
\usepackage{color}
\usepackage{xcolor}
\usepackage{setspace}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{colortbl}
% Package scrlayer-scrpage Warning: Command deprecated!
% (scrlayer-scrpage) Usage of `\setheadtopline', `\setheadsepline',
% (scrlayer-scrpage) `\setfootsepline', and `\setfootbotline'
% (scrlayer-scrpage) became deprecated with scrlayer-scrpage.
% (scrlayer-scrpage) You should use KOMA-Script options
% (scrlayer-scrpage) `headsepline', `headtopline', `footsepline',
% (scrlayer-scrpage) or `footbotline' with values
% (scrlayer-scrpage) `<line thickness>:<line length>' to setup
% (scrlayer-scrpage) the line length and thickness, and
% (scrlayer-scrpage) `\setkomafont' or `\addtokomafont' to
% (scrlayer-scrpage) setup the colour on input line 68.
% Package scrlayer-scrpage Warning: Command deprecated!
% (scrlayer-scrpage) Usage of `\setheadtopline', `\setheadsepline',
% (scrlayer-scrpage) `\setfootsepline', and `\setfootbotline'
% (scrlayer-scrpage) became deprecated with scrlayer-scrpage.
% (scrlayer-scrpage) You should use KOMA-Script options
% (scrlayer-scrpage) `headsepline', `headtopline', `footsepline',
% (scrlayer-scrpage) or `footbotline' with values
% (scrlayer-scrpage) `<line thickness>:<line length>' to setup
% (scrlayer-scrpage) the line length and thickness, and
% (scrlayer-scrpage) `\setkomafont' or `\addtokomafont' to
% (scrlayer-scrpage) setup the colour on input line 71.
%----Kopfzeile-----------------------------------------------------------------------
\usepackage{scrlayer-scrpage} % Aufruf KOMA-Skript für Kopfzeilen
%----Separator Header/Footer---------------------------------------------------------
\KOMAoptions{headsepline=true, footsepline=true}
\pagestyle{scrheadings} % Definition der Eigenen Headerformatierung
\clearscrheadfoot % alle Standard-Werte und Formatierungen raus
\automark[chapter]{section} % Kapitel und Section als Inhalt der Variablen leftmark und rightmark
\ohead{\pagemark} % Seitenzahl auf äußerem Rand
\ihead{\Ifthispageodd{\leftmark}{\rightmark}} % Innere Überschrift mit Kapitel bei linker Seite und Section bei rechter Seite -> geht nur in Verbindung mit
% zweiseitigem Text wirklich sinnvoll
\setkomafont{pagehead}{\scshape} % Schriftart in Kopfzeile, \scshape = Kapitelchen
%----Fußzeile------------------------------------------------------------------------
\setkomafont{pagefoot}{\scshape} % Schriftart in Fußfzeile, \scshape = Kapitelchen
\ifoot{\footnotesize{Philip Gaber}}
\ofoot{\footnotesize{Bachelor Thesis Proposal}}
%------------------------------------------------------------------------------------
% \defpagestyle{myPageStyle}{
% (0pt ,0pt)
% {\hfill\pagemark} {\hfill\pagemark} {\hfill\pagemark}
% (0pt ,0pt)
% }{
% {
% (\textwidth ,0.4pt)
% \footnotesize{Firstname Lastname} \hfill \footnotesize{Bachelor thesis}} {\footnotesize{Firstname Lastname} \hfill \footnotesize{Bachelor thesis}} {\footnotesize{Firstname Lastname} \hfill \footnotesize{Bachelor thesis}}
% (0pt ,0pt)
% }
%----Farbdefinition--THI-Blau--------------------------------------------------------
\definecolor{haw_mag}{rgb}{0,0.112,0.47}
\addtokomafont{section}{\color{haw_mag} \rmfamily \scshape}
\addtokomafont{subsection}{\color{haw_mag} \rmfamily}
\addtokomafont{subsubsection}{\color{haw_mag} \rmfamily}
\addtokomafont{paragraph}{\color{haw_mag} \rmfamily}
\addtokomafont{subparagraph}{\rmfamily}
%------------------------------------------------------------------------------------
\definecolor{tab_2}{RGB}{230,230,230}
\definecolor{tab_1}{RGB}{85,128,214}
%------Längenanpassung---------------------------------------------------------------
\setlength{\headsep}{10mm} % Textabstand zur Kopfzeile
\setlength{\footskip}{15mm} % Abstand zur Fußzeile
\setlength{\textheight}{235mm} % Texthöhe
%------------------------------------------------------------------------------------
%----Glossar-------------------------------------------------------------------------
\usepackage[toc]{glossaries}
\makeglossaries
\include{glossary}
%------------------------------------------------------------------------------------
\includeonly{
% titlepage,
% affidavit,
% acknowledgments,
% abstractDE,
% abstractEN,
% confidentialityClause,
% glossary,
mainpart
%outlook,
%fazit,
% appendices
}
%------------------------------------------------------------------------------------
%----------------DOKUMENT-BEGINN-----------------------------------------------------
%------------------------------------------------------------------------------------
\begin{document}
\shorthandoff{"} % Vermeidung von ungewollten Ligaturen/Avoid unwanted ligatures
%----Vermeidung von Hurenkindern und Schusterjungen---------------------
\widowpenalty=10000
\clubpenalty=10000
\displaywidowpenalty=10000
%-----------------------------------------------------------------------
%Titelseite/title page
\include{titlepage} % include erzeugt immer eine neue Seite bei jedem Einbinden
\cleardoublepage % include always creates a new page
\pagenumbering{Roman} % Römische Nummerierung der Kapitel/roman page numbering
%Erklärung
\thispagestyle{myPageStyle}
\include{affidavit}
\cleardoublepage
%Danksagung
\thispagestyle{myPageStyle}
\include{acknowledgments}
\cleardoublepage
%Kurfassung/Abstract German (only for thesis written in German)
\thispagestyle{myPageStyle}
\include{abstractDE}
\cleardoublepage
%Kurzfassung/Abstract Englisch (for every thesis)
\thispagestyle{myPageStyle}
\include{abstractEN}
\cleardoublepage
%Sperrvermerk/Confidentiality clause (if any)
\thispagestyle{myPageStyle}
\include{confidentialityClause}
\cleardoublepage
% Inhaltsverzeichnis
\thispagestyle{myPageStyle}
\renewcommand{\contentsname}{Table of contents} % Remove for German thesis
% \tableofcontents
\cleardoublepage
\singlespacing
%--------------------------------------------------------------------------------
%------Ausarbeitung--------------------------------------------------------------
%--------------------------------------------------------------------------------
% Arabische Nummerierung der Kapitel/Arabic page numbering
\pagenumbering{arabic}
\include{mainpart}
\shorthandon{"}
%--------------------------------------------------------------------------------
%-----Anhang---------------------------------------------------------------------
%--------------------------------------------------------------------------------
\pagenumbering{Roman} % Römische Nummerierung der Kapitel/Roman page numbering
\setcounter{page}{1} % Beginn bei Seitenzahl X (hier: 6) um bei oberer Nummerierung aufzuschließen/Adapt page numbering
%Glossar/Glossary
\thispagestyle{myPageStyle}
\glssetwidest{A D A S} % gleicher Abstand zur 2. Spalte (längstes Wort)
\setglossarystyle{alttree}
%\printglossary[title=Abkürzungsverzeichnis,toctitle=Abkürzungsverzeichnis] % Rename for German thesis
\cleardoublepage
%Abbildungsverzeichnis/List of figures
\thispagestyle{myPageStyle}
\renewcommand*\listfigurename{List of figures} % Remove for German thesis
\listoffigures
\cleardoublepage
%Tabellenverzeichnis/List of tables
\thispagestyle{myPageStyle}
\renewcommand*\listtablename{List of tables} % Remove for German thesis
\listoftables
\cleardoublepage
%Literaturliste/Literature references
\thispagestyle{myPageStyle}
% \bibliographystyle{abbrvdin} % DIN-Norm für Literaturdarstellung plaindin
\renewcommand{\refname}{Literature references} % Remove for German thesis
\printbibliography
\cleardoublepage
%Anhänge/Appendices
\thispagestyle{myPageStyle}
\include{appendices}
\cleardoublepage
%------------------------------------------------------------------------------------
%----------------DOKUMENTENENDE - END OF DOCUMENT------------------------------------
%------------------------------------------------------------------------------------
\end{document}