% CREATED BY MAGNUS GUSTAVER, 2020
% BASED ON THE WORKS BY DAVID FRISK, 2018, WITH UPDATES TO TITLE PAGE AND LAST PAGE

% IMPORT SETTINGS
\documentclass[12pt,a4paper]{report}
\input{include/settings/Settings}
\usepackage{circuitikz}

\begin{document} 

% If you write a bachelor thesis, change \def\ThesisType{M} to \def\ThesisType{B} in Settings.tex

% COVER PAGE, TITLE PAGE AND IMPRINT PAGE
\pagenumbering{roman}			% Roman numbering (starting with i (one)) until first main chapter
\input{include/frontmatter/Titlepage}

% ABSTRACT
\newpage
\input{include/frontmatter/Abstract}

% TABLE OF CONTENTS
\newpage
\tableofcontents

\begin{comment}
% OTHER FRONTMATTER
% List of figures (add to table of contents)
\cleardoublepage
\addcontentsline{toc}{chapter}{\listfigurename} 
\listoffigures
% List of tables (add to table of contents)
\cleardoublepage
\addcontentsline{toc}{chapter}{\listtablename}  
\listoftables
\end{comment}

% START OF MAIN DOCUMENT
\cleardoublepage
\setcounter{page}{1}
\pagenumbering{arabic}			% Arabic numbering starting from 1 (one)
\setlength{\parskip}{1em plus 1pt}

% INTRODUCTION
\input{include/Introduction}

% THEORY
\input{include/Theory}

% METHODS
\input{include/Methods}

% RESULTS
\input{include/Results}

% CONCLUSION
\input{include/Conclusion}

% WordList
\cleardoublepage
\addcontentsline{toc}{chapter}{Ordlista}
\input{include/backmatter/WordList}

% REFERENCES / BIBLIOGRAPHY
\cleardoublepage
\addcontentsline{toc}{chapter}{Bibliografi}
\input{include/backmatter/References}


% APPENDICES
\cleardoublepage
\appendix
\setcounter{page}{1}
\pagenumbering{Roman}			% Capitalized roman numbering starting from I (one)

\input{include/backmatter/Appendix_1}

\setlength{\parskip}{0pt plus 1pt}

\input{include/backmatter/Lastpage}

\end{document}