82 lines
2.2 KiB
TeX
82 lines
2.2 KiB
TeX
%% Template
|
|
\documentclass{thesis}
|
|
\geometry{inner=30mm, outer=25mm, top=30mm, bottom=25mm}
|
|
|
|
%% Content
|
|
\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
|
|
\sisetup{uncertainty-mode=separate} % Separate uncertainty with +- instead of ()
|
|
|
|
\addbibresource{./biblio/biblio.bib}
|
|
|
|
%% 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
|
|
\phantomsection % To have a correct link in the table of contents
|
|
\addcontentsline{toc}{chapter}{Bibliography}
|
|
|
|
% nocite: Pour citer la totalit\'{e} des r\'{e}f\'{e}rences contenues dans le fichier biblio
|
|
% nocite: In order to cite all the references included biblio
|
|
\nocite{*}
|
|
\printbibliography[heading=primary,keyword=primary]
|
|
\newpage
|
|
\nocite{*}
|
|
\printbibliography[heading=secondary,keyword=secondary]
|
|
|
|
\clearemptydoublepage
|
|
\cleartoevenpage[\thispagestyle{empty}] % To have the back cover on an even page
|
|
\input{./Couverture-these/resume}
|
|
|
|
\end{document}
|