%! TeX Program = pdflatex
%! TeX Root = ./NAME_Thesis.tex

%\documentclass{PhDThesis}
\documentclass[showNotes,showLineNumbers]{PhDThesis}
%\modulolinenumbers[5] % Change line numbering every N lines

%\renewcommand{\familydefault}{\sfdefault} % Uncomment to default to sans serif font

%%%%%%%%%%%%%%%% Fill in for Front and Back Covers %%%%%%%%%%%%%%%%
% Author
\author{Firstname}{Lastname}
% University
\University{Universit\'e de Strasbourg}{Figures/Covers/Logo\_Unistra.pdf}
% Labo
\Labo{Observatoire Astronomique de Strasbourg (UMR 7550)}{Figures/Covers/Logo\_ObAS.pdf}
% Doctoral school
\DoctoralSchool{\'Ecole Doctorale de physique et chimie-physique}{Figures/Covers/logo\_ED182.pdf}
% Thesis
\ThesisDate{XX mois 20XX}
\TitreThese{Le titre de la thèse en français.}
\SousTitreThese{Un sous titre.}
\ThesisTitle{Title of the thesis in english.}
\ThesisSubTitle{A subtitle.}
\resume{1000 caract\`eres maximum}
\motscles{Mot-clé1, Mot-clé2, Mot-clé3}
\abstract{1000 letters max}
\keywords{Keyword1, Keyword2, Keyword3}
% Discipline
\Discipline{Physique}
\Speciality{}
% Directeurs
\directeurs{
    \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation}
    \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation}
}
% Rapporteurs
\rapporteurs{
    \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation}
    \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation}
}
% Jury
\jury{
    \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation}
    \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation}
    \person{Civ.}{Lastname}{Firstname}{Pos.}{Affiliation}
}
% Define first author and name(s) to be put in bold face in the List of publications
\firstauth{Name}
\addboldnames{{Name, Firstname},{Name, I.}}

\makeglossaries
%%%%%%%%%%%%%%%% Document begin %%%%%%%%%%%%%%%%
\begin{document}

    \include{Covers/FrontCover}

    \clearemptydoublepage
    \pagenumbering{roman}

    \dominitoc % use a mini table of contents for each chapter

    \adjustmtc % to avoid minitoc position issue in the following chapters
    \include{Preamble/Acknowledgements}
    \include{Preamble/Remerciements}

    \tableofcontents

    \newpage
    \listoffigures

    \newpage
    \listoftables

    % Define Glossary terms
    \include{Preamble/Glossary}
    \printglossaries

    \adjustmtc
    \include{Preamble/Publications}

    \pagenumbering{arabic}
    \adjustmtc
    \include{Preamble/Abstract}
    \include{Preamble/Resume}

    \newpage
    \include{Chapters/Chapter1}
    \include{Chapters/Chapter2}
    \include{Chapters/Chapter3}

    \printbibliography
    \addcontentsline{toc}{chapter}{Bibliography}

    \begin{appendices}
        \include{Appendices/AppendixA}
    \end{appendices}

    \clearemptydoublepage
    \include{Covers/BackCover}

\end{document}
