% https://github.com/uio-latex/phduio-monograph
% Add [final] to remove marginal notes,
% remove [colophon] for a blank colophon page:
\documentclass[colophon, norsk, english]{phduio}
\usepackage{phdstyle}   % Custom style
\usepackage{kantlipsum} % Dummy text
\author{Author}
\title{Working Title}
\subtitle{Optional Subtitle}
\department{Department}
\faculty{Faculty of Mathematics and Natural Sciences}
\affiliation
{
    Optional Second Affiliation
    \and
    Optional Further Specification
}
\ISSN{1234-5678}           % Request correct number from grafisksenter@uio.no
\dissertationseries{1234}  % Request correct number from grafisksenter@uio.no
\includeonly
{
    sections/dedication,
    sections/abstract-en,
    sections/abstract-no,
    sections/preface,
    sections/introduction,
    sections/chapter2,
    sections/chapter3,
    sections/chapter4,
    sections/appendixA,
    sections/appendixB,
}
\begin{document}
    \frontmatter        % Folios in Roman numerals, unnumbered chapters.
    \uiotitle
    \include{sections/dedication}
    \include{sections/abstract-en}
    \include{sections/abstract-no}
    \include{sections/preface}
    \cleartorecto
    \microtypesetup{protrusion = false}
    \tableofcontents    % Or \tableofcontents*
    \cleartorecto
    \listoffigures      % Or \listoffigures*
    \cleartorecto
    \listoftables       % Or \listoftables*
    \microtypesetup{protrusion = true}
    \mainmatter         % Folios in Arabic numerals, numbered chapters.
    \include{sections/introduction}
    \part{The First Part}
    \include{sections/chapter2}
    \include{sections/chapter3}
    \include{sections/chapter4}
    \appendix           % "Chapter" is renamed "Appendix"
    \appendixpage       % Similar to \part*{Appendices}, but appears in TOC
    \include{sections/appendixA}
    \include{sections/appendixB}
    \backmatter         % Folios in Arabic numerals, unnumbered chapters.
    \printbibliography
\end{document}