%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% Paper size %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% uncomment the correct line depending on what is needed
%% Option: A4 PAPER
\documentclass[a4paper,12pt,twoside,sfelements]{book}
\usepackage{geometry}
%% Option: A5
%\documentclass[10pt,twoside,sfelements, a5paper]{book}
%\def\MakeUppercaseUnsupportedInPdfStrings{\scshape}
%\usepackage[inner=1.8cm, outer=1.5cm, top=2.2cm, bottom=2cm]{geometry}
%% 17x24 Standard Print version
% \documentclass[10pt,twoside,sfelements]{book}
% \usepackage{geometry}
% \geometry{paperheight=240mm,paperwidth=170mm}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Define UZH Font
\usepackage{fontspec}
\setsansfont[
Path = {include/EXTRA/stylefiles/UZH_Corporate_Schrift/SourceSansPro/},
UprightFont = *-Regular,
ItalicFont = *-Italic,
BoldFont = *-Bold,
BoldItalicFont = *-BoldItalic
]{SourceSansPro}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% load auxiliary files and needed packages %%%%%%%%%%
\include{include/EXTRA/auxiliary/packages.tex} %packages
\include{include/EXTRA/auxiliary/stylefiles.tex} %stylefiles
\include{include/EXTRA/auxiliary/tools.tex} %general tools
\include{include/EXTRA/auxiliary/math.tex} %math settings
%%%% use includeonly to restrict compilation to single chapters %%%%
%% e.g.
%\includeonly{include/INTRO/introduction,include/EXTRA/refs}
%% only for template:
\usepackage{lipsum}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Make Title, Table of contents and abstract
\begin{document}
\sloppy
% frontmatter -> roman page numbers
\frontmatter
\hypersetup{pageanchor=false}
% TITLE
\include{include/EXTRA/title}
%% ACKNOWLEDGEMENTS
%\include{include/EXTRA/acknowledgement}
% \hypersetup{pageanchor=true}
\pagestyle{plain}
%% TABLE OF CONTENTS%
\include{include/EXTRA/toc}
%% ABSTRACT
\include{include/EXTRA/abstract}
% mainmatter -> fancy page style
\mainmatter
\pagestyle{fancy}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Thesis Content
%Chapter 1
\include{include/01_CHAPTERS/chapter_1}
%Chapter 2
\include{include/01_CHAPTERS/chapter_2}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% References and Appendix
%%% start hypersetup root
\bookmarksetup{startatroot}
%%% REFERENCES
\include{include/EXTRA/refs}
%% APPENDICES
\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
\appendix
\epigraphhead{}
\include{include/02_APPENDIX/appendix_1}
\include{include/02_APPENDIX/appendix_2}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Start backmatter
\backmatter
%%%%%%%% start hypersetup root
\bookmarksetup{startatroot}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% LIST OF FIGURES AND TABLES (Optional)
\include{include/EXTRA/listfig}
\include{include/EXTRA/listtab}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Declaration of AI Tools
\include{include/EXTRA/AI-tools}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}