![KTH Thesis Template](https://writelatex.s3.amazonaws.com/published_ver/13138.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240717T175533Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240717/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=ab105a1f58b58d0d89f54119d26b3767008ae06bc53bd1bb373fd3aebc948e3f)
This is a template for writing a thesis at KTH. It is based on an official template provided by the institution.
\documentclass[12pt, openany]{book}
% This is all the packages and settings and so on.
% It is using custom fonts that needs to be installed on the computer. If they are not present, they have to be added manually.
\input{setup/settings.tex}
% Defining files for bibliography
%\addbibresource{ref.bib}
\addbibresource{references.bib}
% Add a second bibliography file for the second author to allow
% both to update it through the mendeley integration.
% \addbibresource{ref-author-2.bib}
% Defining document information
\title{Template}
\newcommand{\subtitle}{KTH Thesis Report}
\author{<Author Name and Author Name>}
\begin{document}
\setstretch{1.4}
% The front page of the document
\pagenumbering{roman}
\include{setup/title-page}
\include{sections/0-pre-content}
\pagenumbering{arabic}
\include{sections/1-introduction}
\include{sections/2-background}
\include{sections/3-method}
\include{sections/4-work}
\include{sections/5-results}
\include{sections/6-conclusions}
% \include{content}
\newpage
\addcontentsline{toc}{chapter}{References}
\textbf{If you are using mendeley to manage references, you might have to export them manually in the end as the automatic ways removes the "date accessed" field}
\printbibliography
\include{sections/appendices}
\include{back-cover}
\end{document}