%!TEX program = latexmk
%!TEX encoding = UTF-8 Unicode
%% Set the page dimensions, font dimensions, and tells LaTeX to use the class "mythesis.cls" which contains your particular stylistic choices for the thesis.
\documentclass[12pt, provisional]{mythesis}
% Possible options:
% Text font : '12pt', '11pt', etc. FCUL requires '12pt'
% showframe : load package showframe for all pages
% showlinenum : print line numbers every 5 lines
% watermark : add watermark with text 'DRAFT'
% final : load final front pages (default option, can be omitted)
% provisional : load provisional front pages
% To help with breaking lines in paragraph (overfull \hbox)
\setlength{\emergencystretch}{3em}
\graphicspath{{figures/}} % include all folders with images as {folderA/}{folderB/}...
% To obtain dates in Roman numerals (only if needed)
\usepackage{datetime}
\makeatletter
\newcommand\Romanyear{\@Roman{\year}}
\makeatother
% To show subsubsections in ToC
\setcounter{tocdepth}{3}
% Load glossaries
\makeglossaries
\loadglsentries{./preambles/glossaries}
\glsaddall
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Personal information %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\authorlongname{Nome completo do estudante}
\authorshortname{N. do estudante}
\thesistitle{Very long title for the document and the thesis}
\degree{Doutoramento em Designa\c{c}\~{a}o do Doutoramento}
\speciality{Designa\c{c}\~{a}o da Especialidade, se aplic\'{a}vel} % can leave blank
\supervisors{Orientador 1}{Orientador 2}{Orientador 3} % Up to three supervisors
\jurypresident{(Nome, categoria e institui\c{c}\~{a}o do Presidente)} % Can remove parenthesis
\jurymembers{(Nome, categoria e institui\c{c}\~{a}o do Vogal)}
{(Nome, categoria e institui\c{c}\~{a}o do Vogal)}
{(Nome, categoria e institui\c{c}\~{a}o do Vogal)}
{(Nome, categoria e institui\c{c}\~{a}o do Vogal)}
{(Nome, categoria e institui\c{c}\~{a}o do Vogal)}
{(Nome, categoria e institui\c{c}\~{a}o do Vogal)} % Minimum four, maximum six members
\coveracknowledgement{Men\c{c}\~{a}o a colabora\c{c}\~{o}es ou entidades financiadoras (se aplic\'{a}vel)} % Only for cover page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Start the document %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FRONTPAGE %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newgeometry{hmargin=3cm, top=1cm, headsep=0.1cm, bmargin=1.5cm}
\include{./preambles/\frontpagefile}
%\newpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COVER PAGE %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frontmatter % What it does is to set the page numbering to Roman numbering (I. II. etc.)
\include{./preambles/\coverpagefile}
\restoregeometry % Revert to original geometry formatting
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% DEDICATION %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./preambles/dedication}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ACKNOWLEDGEMENTS %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./preambles/acknowledgments}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ABSTRACT - RESUMO %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./preambles/resumo}
\cleardoublepage
\include{./preambles/abstract}
\cleardoublepage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COMMUNICATION OF OUTPUTS %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./preambles/output_communication}
\cleardoublepage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TABLE OF CONTENTS %
% LIST OF TABLES %
% LIST OF FIGURES %
% GLOSSARY %
% LIST OF ACRONYMS %
% LIST OF SYMBOLS %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{plain}
\pdfbookmark{\contentsname}{toc}
\tableofcontents
\CAPinToC % All entries in ToC will be CAPITALIZED from here on
\phantomsection \label{listoftables}
\listoftables
\phantomsection \label{listoffigures}
\listoffigures
\phantomsection \label{glossary}
\printglossary[type=acronym,style=long,title={List of acronyms}]
\printglossary[type=symbols,style=long4col,title={List of symbols}]
\noCAPinToC % Revert to original \addcontentsline formatting
\cleardoublepage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TEXT OF THESIS %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Switch to chapters, which means it switch back to standard arabic page numbering (1, 2, etc.)
\newpage
\mainmatter
%% Include the chapters (which have to have the same filename plus the .tex extension)
\include{./chapters/chapter_01}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% DATA AND SOFTWARE ACKNOWLEDGEMENTS %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include{./preambles/data_software}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% REFERENCES %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage
\input{./preambles/references}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% APPENDICES %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{appendices} % It is like a chapter, so each appendix (A, B, C...) must to be considered as a section
\input{./chapters/appendix_01}
\end{appendices}
\cleardoublepage
\end{document}

PDF Preview
Create an account to compile and preview