86 lines
2.2 KiB
TeX
86 lines
2.2 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{
|
|
bookmarksnumbered=true, % Include section numbers in bookmarks
|
|
bookmarksopen=true, % Auto-open bookmarks
|
|
% pdfauthor = {XYZ},
|
|
% pdftitle = {Thèse de doctorat de XYZ},
|
|
% pdfsubject = {Thèse de doctorat de XYZ},
|
|
% pdfkeywords = {mots-clés},
|
|
pdfversion=1.7 % Fix /includefigure warnings
|
|
}
|
|
|
|
\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{ebgaramond} % Garamond font
|
|
\usepackage{microtype} % Micro-typography improvements (slightly more compact, better to read)
|
|
|
|
%% Custom commands
|
|
\input{utils/commands}
|
|
\newcommand{\CP}[1]{{\footnote{\textcolor{red}{CP: #1}}}}
|
|
|
|
\newcommand{\inputchapter}[1]{\clearemptydoublepage\input{#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}
|