\documentclass{layout/epfl-report}

%% Set up the bibliography
\usepackage{biblatex}
\usepackage{etoolbox}
\usepackage{geometry}
\usepackage{graphicx}
\addbibresource{report.bib}


\newtoggle{doubledegree}
\togglefalse{doubledegree}


%% Additional packages and commands
\setlist{itemsep=-2pt} % Reducing white space in lists slightly
\renewcommand{\deg}{\si{\degree}\xspace} % Use \deg easily, everywhere


%% ----------------------------------------------------------------------
%%    Begin of document + Frontmatter (Roman page numbering)
%% ----------------------------------------------------------------------


\begin{document}


\frontmatter

%IMPORTANT! IF YOU DO A DOUBLE DEGREE
%Please check that \doubledegree is set TRUE by uncommenting the following line
%\toggletrue{doubledegree}

%% Define the main parameters
\title{A Title to the Report}
\subtitle{A Catchy Optional Subtitle \\ that Grabs the Attention}
\author{Author}
\subject{Master’s programme Artificial Intelligence and Cybersecurity} % Cover only
\supervisor{I. Surname}
\cosupervisor{II. Surname}
\affiliation{Alpen-Adria Universtität Klagenfurt} % Name of Uni 1
\affiliationtwo{University of Udine} % Name of Uni 2, only for doulble degree; else leave blank
\thesistype{MASTER THESIS} %Thesis Type in UPPERCASE, e.g. MASTER THESIS
\department{Department of Artificial Intelligence and Cybersecurity} %name of department 
\departmenttwo{Departimento di Scienze Matematiche, Infomatiche i Fisiche}%name of department of university 2, only for double degree;
\degreename{Master of Science} %add degree name, e.g. Master of Science
\location{Klagenfurt} %Klagennfurt or Udine
\coverimage{figures/aaugraduation} % Aspect ratio of 2:3 (portrait) recommended
\definecolor{title}{HTML}{4699C2} % Color for cover title


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%OPTIONAL: Bookcover (Sprialbindung)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\makecover

\input{frontmatter/title-report}

\newpage
~
\newpage

\input{frontmatter/preface}

\newpage

\input{frontmatter/abstract}

\tableofcontents
%\listoffigures
%\listoftables

\input{frontmatter/nomenclature}

%% ----------------------------------------------------------------------
%%    Mainmatter (Arabic page numbering)
%% ----------------------------------------------------------------------

\mainmatter

\input{mainmatter/introduction}

\input{mainmatter/chapter-2}
\input{mainmatter/chapter-3}
%\input{mainmatter/chapter-4} % Create file to add

\input{mainmatter/conclusion}

%% Prevent urls running into margins in bibliography
\setcounter{biburlnumpenalty}{7000}
\setcounter{biburllcpenalty}{7000}
\setcounter{biburlucpenalty}{7000}

%% Add bibliography
\printbibliography[heading=bibintoc,title=Literature]

%% ----------------------------------------------------------------------
%%    Appendix (Letters for chapters)
%% ----------------------------------------------------------------------

\appendix

\input{appendix/appendix-a}
\input{appendix/appendix-b}
%\input{appendix/appendix-c} % Create file to add

\end{document}
