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

76 lines
2.1 KiB
TeX

%% Template
\documentclass{thesis}
\geometry{inner=30mm, outer=25mm, top=30mm, bottom=25mm}
%% Content
\usepackage[backend=biber, backref=true, doi=false, style=authoryear]{biblatex}
\addbibresource{references.bib}
\AtEveryBibitem{% Remove some fields from bibliography
\clearfield{day}%
\clearfield{location}%
\clearfield{month}%
\clearfield{series}%
}
\AtEveryCite{% Use square brackets for citations
\let\bibopenparen=\bibopenbracket%
\let\bibcloseparen=\bibclosebracket%
}
\hypersetup{
bookmarksnumbered=true, % Include section numbers in bookmarks
bookmarksopen=true, % Auto-open bookmarks
pdfauthor = {Erwan NORMAND},
pdftitle = {Wearable Haptics and Augmented Reality},
pdfsubject = {Ph.D. Thesis of Erwan NORMAND},
pdfkeywords = {},
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}
\selectlanguage{french}
\input{00-cover/cover}
\selectlanguage{english}
\frontmatter
\inputchapter{01-front/acknowledgement}
\inputchapter{01-front/abstract}
\inputchapter{01-front/résumé}
\inputchapter{01-front/publications}
\inputchapter{01-front/contents}
\inputchapter{01-front/acronyms}
\inputchapter{01-front/figures}
\inputchapter{01-front/tables}
\mainmatter
\inputchapter{11-introduction/introduction}
\inputchapter{12-chapitre1/chapitre1}
\inputchapter{13-chapitre2/chapitre2}
\inputchapter{14-conclusion/conclusion}
\backmatter
\clearemptydoublepage
\printbibliography[heading=bibintoc]
\inputchapter{20-back/backcover}
\end{document}