\documentclass[degreereport,university,gu,a4paper]{chalmers-thesis}
% All options are; doctorate, licentiate, masters, bachelors, techreport, projectreport, nocover, draft, g5paper,

\input{settings.tex}
\input{include/frontmatter/frontmatter.tex}

% Additional packages added by us.
\usepackage{cprotect}   % Allows verbatim environment (ie. for URLs in figure caption).
\usepackage{subcaption} % The modern, prefered package for multi-figures.
\usepackage{longtable} % See the terminology chapter.
\usepackage{parskip}   % Swedish paragraph spacing.

%%% Draw boxes around figures.
\usepackage[most]{tcolorbox}
\tcbset{
colback  = white!100!yellow, 
colframe = black!100!red, 
highlight math style={
    enhanced, colback=white!100!yellow,
    colframe=black!100!red, 
    boxsep=1pt, 
    arc=1pt, 
    boxrule=0.5pt
    }
}

% These parameters set the depth to which chapters should appear in the Table of Contents.
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}

\let\tss\textsubscript

\begin{document}
\selectlanguage{swedish}
\maketitle

\subfile{include/body/1-inledning}
\clearpage
\subfile{include/body/2-teknisk_bakgrund}
\clearpage
\subfile{include/body/3-metod}
\clearpage
\subfile{include/body/4-teoretisk_bakgrund}
\clearpage
%\subfile{include/body/5-Systemkonstruktion}
\subfile{include/body/5-genomforande}
\clearpage
\subfile{include/body/6-resultat}
\clearpage
\subfile{include/body/7-diskussion}
\clearpage
\subfile{include/body/8-framtida_utveckling}
\clearpage

\subfile{include/backmatter/bilagor}

\clearpage
% \nocite{*} % Debug. Remove later.
\printbibliography 

\end{document}

