%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% IMPORTANT INFORMATION
%% Lines followed by "%% DO NOT CHANGE OR REMOVE" are
%% system critical, tampering will lead to one or more error messages
%%
%% Lines followed by "%% REQUIRED" contains options that the user
%% should provide
%%
%% Some lines are followed by "%% OPTIONAL",
%% and may be omitted (deleted or commented out)
%%
%% Read the "How To" chapter,
%% there you will find a detailed explanation of how to use this template,
%% including examples of all you need and more.
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% START PREAMBLE
%% Setting class options,
%% language, metadata, bibliography file, citation style, and more
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[ %% DO NOT CHANGE OR REMOVE
%draft, %% Turns of graphics rendering and micro-formatting stuff, and turns on todo notes. Affects page breaking.
cover, %% Custom cover page, must be provided as an Layout/coverpage.pdf in A4 size- Otherwise a standard HiØ (Høgskolen i Østfold) cover is generated. Default: HiØ standard thesis titlepage
%word, %% Word-like paragraph formatting, no indentations, air between paragraphs, ragged right. Default: As all documents are formatted, except those made with default M$ documents
%sans %% Standard HiØ font: Source Sans Pro. Default: Computer Modern, designed by Donald Knuth.
]{thesistemplate} %% DO NOT CHANGE OR REMOVE
\setdefaultlanguage %% DO NOT CHANGE OR REMOVE
%[variant=bokmal] %% OPTIONAL. Some languages have variant option, like bokmål and nynorsk for norwegian
{english} %% REQUIRED. Substitute with your preferred language (some languages have options), see https://ctan.uib.no/macros/unicodetex/latex/polyglossia/polyglossia.pdf page 6 for supported languages.
%% Metadata, to appear on the half-title page (and the coverpage, if not a custom cover is provided), to be changed by you:
\doctype{Generic Thesis Template} %% REQUIRED
\department{School of Computer Sciences} %% REQUIRED
\affiliation{Østfold University College} %% REQUIRED
\place{Halden} %% REQUIRED
\title{The Perfect Thesis} %% REQUIRED
\subtitle{Structure, Content and Layout} %% REQUIRED
\author{Gunnar Misund} %% REQUIRED
%% Bibliography and citation style
\citationstyle{ieee} %% REQUIRED. Citation style, see https://www.overleaf.com/learn/latex/biblatex_citation_styles for all available styles, some examples: ieee, apa, nature.
\addbibresource{Bibliography/thesis.bib} %% REQUIRED. You may substitute "thesis" with another. To include more *.bib files, repeat the \addbibresource command
\input{Chapters/glossary} %% OPTIONAL, goes with \printglossaries in the end matter file
\makeindex[columns=2, intoc]
%\makeindex%[columns=2, intoc] %% OPTIONAL, goes with \printindex in endmatter.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% END PREAMBLE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% The contents of the rest of the document,
%% distributed in separate files for chapters and other main parts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input{Parts/frontmatter} %% REQUIRED. Contains abstract, acknowledgments, tables of content, etc.
\input{Parts/mainmatter} %% REQUIRED. The main content from Introduction to bibliography
\input{Parts/endmatter} %% REQUIRED. Appendices, glossary and such
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% END OF MAIN.TEX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%