% Author - Jon Arnt Kårstad, NTNU IMT
\documentclass{article}
% Importing document settings from our file "packages.sty"
\usepackage{packages}
% Beginning of document
\begin{document}
% Inserting title page
\import{./}{title}
% Defining front matter settings (Norsk: innstillinger for forord m.m.)
\frontmatter
% Inserting table of contents
\tableofcontents
% Inserting list of figures & list of tables
\listoffigures
\listoftables
% Defining main matter settings (Norsk: innstillinger for hoveddelen av teksten)
\mainmatter
% Introduction explaining this LaTeX-template
\import{./Sections/}{Sammendrag}
\import{./Sections/}{Innledning}
\import{./Sections/}{Material}
\import{./Sections/}{Resultat}
\import{./Sections/}{Diskusjon}
% Example section added directly into the main-file
\section{Konklusjon}
% Printing bibliography
\newpage
\printbibliography[heading = bibintoc, title = Bibliography] % 'bibintoc' inserts our bibliography into the table of contents
% Inserting appendix with separate settings
\addappendix
\import{./Appendices/}{example_appendix}
% End of document
\end{document}