Files
phd-thesis/main.tex
2024-04-15 16:12:24 +02:00

81 lines
2.0 KiB
TeX

%% Template
\PassOptionsToPackage{backref=true, doi=false, style=ieee}{biblatex}
\documentclass{thesis}
\geometry{inner=30mm, outer=25mm, top=30mm, bottom=25mm}
%% Content
\addbibresource{references.bib}
\AtEveryBibitem{\clearfield{day}}
\AtEveryBibitem{\clearfield{location}}
\AtEveryBibitem{\clearfield{month}}
\AtEveryBibitem{\clearfield{series}}
\hypersetup{
% pdfauthor = {XYZ},
% pdftitle = {Th\`{e}se de doctorat de XYZ},
% pdfsubject = {Th\`{e}se de doctorat de XYZ},
% pdfkeywords = {mots-cl\'{e}s},
}
\usepackage{siunitx} % For numbers with units
\sisetup{
retain-explicit-plus=true, % Keep + in numbers
uncertainty-mode=separate % Separate uncertainty with +- instead of ()
}
%% Typography
% babel, csquotes, fontenc, microtype, lmodern, textcomp are already loaded by the class
%\usepackage[autostyle]{csquotes} % For quotes
\usepackage{microtype} % Micro-typography improvements (slightly more compact, better to read)
%% Custom commands
\input{utils/commands}
\newcommand{\CP}[1]{{\footnote{\textcolor{red}{CP: #1}}}}
%% Document
\begin{document}
\input{./Couverture-these/pagedegarde}
\selectlanguage{english} % (babel package)
\clearemptydoublepage
\input{./Acknowledgement/acknowledgement}
\frontmatter
\clearemptydoublepage
\renewcommand{\contentsname}{Table of Contents}
\tableofcontents
%\shorttableofcontents{Sommaire}{0}
\clearemptydoublepage
\input{./Introduction/introduction}
\clearemptydoublepage
\mainmatter
\input{./Chapitre1/chapitre1}
\clearemptydoublepage
\ifenvsetTF{COMPILE_ALL}{
% Compile the chapter when the COMPILE_ALL environment variable is set
\input{./Chapitre2/chapitre2}
}{
% Uncomment this line to compile this chapter locally (when the COMPILE_ALL variable is not set)
%\input{./Chapitre2/chapitre2}
}
\clearemptydoublepage
\backmatter
\input{./Conclusion/conclusion}
\clearemptydoublepage
\printbibliography[heading=bibintoc]
\clearemptydoublepage
\cleartoevenpage[\thispagestyle{empty}] % To have the back cover on an even page
\input{./Couverture-these/resume}
\end{document}