234 lines
5.3 KiB
TeX
234 lines
5.3 KiB
TeX
|
\documentclass{these-dbl}
|
||
|
% Ce fichier main.tex est le fichier principal \`{a} partir duquel tout est g\'{e}n\'{e}r\'{e}
|
||
|
% This file is the main file where the final document is generated
|
||
|
|
||
|
% Pour avoir des jolis tableaux
|
||
|
\usepackage{booktabs}
|
||
|
|
||
|
% Pour les maths
|
||
|
\usepackage{amsmath,amssymb,amsfonts}
|
||
|
|
||
|
% Pour plus de symboles mathématiques
|
||
|
\usepackage{stmaryrd}
|
||
|
|
||
|
%% To have glossaries and acronyms
|
||
|
\usepackage[toc, acronyms]{glossaries}
|
||
|
|
||
|
%% To use wrapfigs
|
||
|
\usepackage[]{wrapfig}
|
||
|
|
||
|
%% To use sidewaysfigures
|
||
|
\usepackage{rotating}
|
||
|
|
||
|
%% To handle SVG files
|
||
|
\usepackage[]{svg}
|
||
|
|
||
|
%% To have local table of contents
|
||
|
\usepackage[]{etoc}
|
||
|
|
||
|
\usepackage[]{fontspec}
|
||
|
|
||
|
%% You can customize fonts if you want AT YOUR OWN RISKS
|
||
|
\setmainfont{Latin Modern Roman}
|
||
|
\setmonofont{Latin Modern Math}
|
||
|
\renewcommand{\textsc}[1]{{\fontfamily{lmr}\selectfont \scshape #1}}
|
||
|
|
||
|
\usepackage{enumitem}
|
||
|
|
||
|
%% ACRONYMS
|
||
|
\input{acronyms.tex}
|
||
|
|
||
|
%% COMMANDS
|
||
|
\input{commands.tex}
|
||
|
|
||
|
% Remplir les métadonnées du PDF
|
||
|
% Fill the PDF metadata
|
||
|
\hypersetup{
|
||
|
pdfauthor = {Author},
|
||
|
pdftitle = {Th\`{e}se de doctorat de Author},
|
||
|
pdfsubject = {Th\`{e}se de doctorat de Author},
|
||
|
% pdfkeywords = {mots-cl\'{e}s},
|
||
|
}
|
||
|
|
||
|
\geometry{vmargin=4.0cm}
|
||
|
|
||
|
% Spécifier vos fichiers de bibliographie
|
||
|
% Specify you bibliography files here
|
||
|
\addbibresource{./biblio/biblio.bib}
|
||
|
|
||
|
\graphicspath{{./figures/}}
|
||
|
|
||
|
|
||
|
\usepackage[]{tikz}
|
||
|
\usetikzlibrary{calc,
|
||
|
fit,
|
||
|
shapes.misc,
|
||
|
shapes.geometric,
|
||
|
arrows.meta,
|
||
|
positioning}
|
||
|
|
||
|
\usepackage{pgfplots}
|
||
|
\usepackage{pgfplotstable}
|
||
|
\pgfplotsset{compat=1.18}
|
||
|
|
||
|
% Centering captions
|
||
|
\usepackage[justification=centering]{caption}
|
||
|
\usepackage[justification=centering]{subcaption}
|
||
|
\captionsetup{font={footnotesize}}
|
||
|
|
||
|
\usepackage[]{bm}
|
||
|
|
||
|
\usepackage{hyperref}
|
||
|
|
||
|
|
||
|
% Source code inlining
|
||
|
\usepackage[]{listings}
|
||
|
|
||
|
\definecolor{codegreen}{rgb}{0,0.6,0}
|
||
|
\definecolor{codegray}{rgb}{0.3,0.3,0.3}
|
||
|
\definecolor{codepurple}{rgb}{0.58,0,0.82}
|
||
|
\definecolor{backcolour}{rgb}{0.92,0.95,0.95}
|
||
|
|
||
|
\lstdefinestyle{mystyle}{
|
||
|
backgroundcolor=\color{backcolour},
|
||
|
commentstyle=\color{codegreen},
|
||
|
keywordstyle=\color{magenta},
|
||
|
numberstyle=\scriptsize\color{codegray},
|
||
|
stringstyle=\color{codepurple},
|
||
|
basicstyle=\ttfamily\footnotesize,
|
||
|
breakatwhitespace=false,
|
||
|
breaklines=true,
|
||
|
captionpos=b,
|
||
|
keepspaces=true,
|
||
|
numbers=left,
|
||
|
numbersep=5pt,
|
||
|
showspaces=false,
|
||
|
showstringspaces=false,
|
||
|
showtabs=false,
|
||
|
tabsize=2
|
||
|
}
|
||
|
|
||
|
\lstset{style=mystyle}
|
||
|
|
||
|
% TOC configuration
|
||
|
\setcounter{tocdepth}{4}
|
||
|
\setcounter{secnumdepth}{4}
|
||
|
|
||
|
% To import macros and functions
|
||
|
\input{./Couverture-these/pagedegarde.tex}
|
||
|
|
||
|
% To enable subfiles handling.
|
||
|
% HAVE TO BE LOADED JUST BEFORE DOCUMENT BEGINNING
|
||
|
\usepackage{subfiles}
|
||
|
\begin{document}
|
||
|
|
||
|
% Page de garde avec commande \maketitle
|
||
|
% Front cover calling \maketitle
|
||
|
\subfile{./Couverture-these/titlepage}
|
||
|
|
||
|
|
||
|
% Sélectionner la langue du contenu suivant cette ligne
|
||
|
% Select the content language following this line
|
||
|
\selectlanguage{english}
|
||
|
|
||
|
|
||
|
% Inclusion du chapitre remerciement
|
||
|
% Input acknowledgement chapter
|
||
|
% \clearemptydoublepage
|
||
|
\subfile{./Acknowledgement/acknowledgement}
|
||
|
|
||
|
% Ne pas oublier cette commande qui g\'{e}n\`{e}re la page de couverture avant
|
||
|
% This command will generate the front cover
|
||
|
\frontmatter
|
||
|
\clearemptydoublepage
|
||
|
\renewcommand{\contentsname}{Table of Contents}
|
||
|
\tableofcontents %sommaire %table of content
|
||
|
%\shorttableofcontents{Sommaire}{0}
|
||
|
|
||
|
\clearemptydoublepage
|
||
|
|
||
|
\printglossary[type=\acronymtype,nonumberlist]
|
||
|
\clearemptydoublepage
|
||
|
\printglossary[nonumberlist]
|
||
|
|
||
|
\clearemptydoublepage
|
||
|
|
||
|
\listoffigures
|
||
|
\addcontentsline{toc}{chapter}{List of Figures}
|
||
|
|
||
|
\clearemptydoublepage
|
||
|
|
||
|
\listoftables
|
||
|
\addcontentsline{toc}{chapter}{List of Tables}
|
||
|
|
||
|
\clearemptydoublepage
|
||
|
|
||
|
\subfile{./Introduction/introduction}
|
||
|
|
||
|
\clearemptydoublepage
|
||
|
\mainmatter
|
||
|
|
||
|
\subfile{./StateOfTheArt/stateoftheart}
|
||
|
|
||
|
\clearemptydoublepage
|
||
|
|
||
|
\subfile{./chapter1/chapter1}
|
||
|
|
||
|
\clearemptydoublepage
|
||
|
|
||
|
\subfile{./chapter2/chapter2}
|
||
|
|
||
|
\clearemptydoublepage
|
||
|
\backmatter
|
||
|
\subfile{./Conclusion/conclusion}
|
||
|
|
||
|
\clearemptydoublepage
|
||
|
|
||
|
% Chapitre pour les annexes
|
||
|
% Appendix chapter
|
||
|
|
||
|
\chapter*{Appendices}
|
||
|
\phantomsection % To have a correct link in the table of contents
|
||
|
\addcontentsline{toc}{chapter}{Appendices}
|
||
|
{
|
||
|
\setcounter{section}{0}
|
||
|
\renewcommand{\thesection}{\Alph{section}}
|
||
|
\renewcommand{\thesubsection}{\Alph{section}.\arabic{subsection}}
|
||
|
\subfile{./Appendices/appendix_A}
|
||
|
|
||
|
% clear pages between appendix to begin appendix on odd pages
|
||
|
\cleardoublepage
|
||
|
|
||
|
\subfile{./Appendices/appendix_B}
|
||
|
}
|
||
|
|
||
|
% clear empty pages before bibliography
|
||
|
\clearemptydoublepage
|
||
|
|
||
|
% Retour au valeur par défaut
|
||
|
% Reverse to default values
|
||
|
\setmainfont{Latin Modern Roman}
|
||
|
\setmonofont{Latin Modern Math}
|
||
|
|
||
|
% Chapitre pour la bibliographie
|
||
|
% Bibliography chapter
|
||
|
\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{*}
|
||
|
% \printbibheading
|
||
|
\printbibliography
|
||
|
\newpage
|
||
|
|
||
|
\clearemptydoublepage
|
||
|
|
||
|
% Pour avoir la quatrième de couverture sur une page paire
|
||
|
% To have the back cover on an even page
|
||
|
\cleartoevenpage[\thispagestyle{empty}]
|
||
|
|
||
|
\subfile{./Couverture-these/resume}
|
||
|
|
||
|
\end{document}
|