% https://github.com/uio-latex/phduio-article-based
% 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/preface,
    sections/abstract-en,
    sections/abstract-no,
    sections/papers,
    sections/introduction,
    sections/paperI,
    sections/paperII,
    sections/paperIII,
    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}
    \include{sections/papers}
    \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}
    \paper              % "Chapter" is renamed "Paper"
    \paperpage          % Similar to \part*{Papers}, but appears in TOC
    \numberofpapers{3}  % Specify size of thumb indices
    \include{sections/paperI}
    \include{sections/paperII}
    \include{sections/paperIII}
    \appendix           % "Chapter" is renamed "Appendix"
    \appendixpage       % Similar to \part*{Appendices}, but appears in TOC
    \include{sections/appendixA}
    \include{sections/appendixB}
\end{document}