%==============================================================================
% PhD Thesis template — Université Paris-Saclay
% Based on the official layout by kira.ribeiro@universite-paris-saclay.fr
% Extracted into a reusable template.
%
% Build: pdflatex -> bibtex -> makeglossaries -> makeindex (nomencl)
% -> pdflatex -> pdflatex
% (or simply run `latexmk -pdf main.tex`, see README.md)
%
% Look for "% >>> EDIT" markers below for everything you need to change.
%==============================================================================
\documentclass[english,12pt,a4paper]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel} % >>> EDIT: use [french] or [main=english,french] as needed
\usepackage[default, scale=.95]{opensans} % Open Sans font (Paris-Saclay charter)
%--- math --------------------------------------------------------------------
\usepackage{amsmath, amsthm}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{bbm}
%--- floats, tables, figures -------------------------------------------------
\usepackage{caption}
\captionsetup[figure]{font=small,labelfont=small}
\captionsetup[table]{font=small,labelfont=small}
\usepackage{subfig}
\usepackage{graphicx}
\usepackage{float}
\usepackage{multirow} % text spanning several rows
\usepackage{multicol} % text spanning several columns
\usepackage{array}
\usepackage{makecell}
\usepackage{booktabs}
\usepackage{colortbl}
\usepackage{arydshln} % dashed rules in tables/matrices
\usepackage[figuresright]{rotating}
\usepackage{enumerate}
%--- algorithms --------------------------------------------------------------
\usepackage{algorithm}
\usepackage{algpseudocode}
%--- misc --------------------------------------------------------------------
\usepackage{mdframed}
\usepackage{tikz}
\usepackage[absolute]{textpos}
\usepackage{geometry}
\usepackage{titlesec}
\usepackage{afterpage}
\usepackage{dirtytalk} % \say{...}
\usepackage{lipsum} % >>> EDIT: placeholder text — remove when done
\raggedbottom % avoid stretching content to fill page height
\pagestyle{plain} % page number bottom-center, no chapter marks in margin
\usepackage[colorlinks=true,
linkcolor=black,
citecolor=green,
filecolor=blue,
urlcolor=black
]{hyperref}
%==============================================================================
% COLORS — Université Paris-Saclay graphic charter
%==============================================================================
\usepackage{xcolor}
\definecolor{Prune}{RGB}{99,0,60} % Paris-Saclay signature "prune"
\definecolor{B1}{RGB}{49,62,72} % dark grey
\definecolor{C1}{RGB}{124,135,143} % light grey
\definecolor{D1}{RGB}{213,218,223}
\definecolor{A2}{RGB}{198,11,70}
\definecolor{B2}{RGB}{237,20,91}
\definecolor{C2}{RGB}{238,52,35}
\definecolor{D2}{RGB}{243,115,32} % light orange
\definecolor{A3}{RGB}{124,42,144}
\definecolor{B3}{RGB}{125,106,175}
\definecolor{C3}{RGB}{198,103,29} % dark orange
\definecolor{D3}{RGB}{254,188,24}
\definecolor{A4}{RGB}{0,78,125}
\definecolor{B4}{RGB}{14,135,201}
\definecolor{C4}{RGB}{0,148,181}
\definecolor{D4}{RGB}{70,195,210}
\definecolor{A5}{RGB}{0,128,122} % dark green
\definecolor{B5}{RGB}{64,183,105}
\definecolor{C5}{RGB}{140,198,62}
\definecolor{D5}{RGB}{213,223,61}
\definecolor{deepred}{RGB}{140,35,37}
%==============================================================================
% THEOREM ENVIRONMENTS
%==============================================================================
\theoremstyle{plain}
\newtheorem{definition}{Definition}[section]
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{assumption}{Assumption}[section]
\newtheorem{property}{Property}[section]
\theoremstyle{remark}
\newtheorem*{remark}{Remark}
%==============================================================================
% COLORED THEOREM BOXES (tcolorbox)
% Usage: \begin{theorembox}[<options>]{<title>}{<label>} ... \end{theorembox}
%==============================================================================
\usepackage{tcolorbox}
\tcbuselibrary{breakable}
\newtcolorbox[auto counter,number within=section]{examplebox}[3][]{%
colback=B4!5!white, colframe=B4, fonttitle=\bfseries,
title=Example~\thetcbcounter~#2, label={#3}, #1, breakable}
\newtcolorbox[auto counter,number within=section]{definitionbox}[3][]{%
colback=A5!5!white, colframe=A5, fonttitle=\bfseries,
title=Definition~\thetcbcounter~#2, label={#3}, #1, breakable}
\newtcolorbox[auto counter,number within=section]{propositionbox}[3][]{%
colback=yellow!5!white, colframe=yellow!50!black, fonttitle=\bfseries,
title=Proposition~\thetcbcounter~#2, label={#3}, #1, breakable}
\newtcolorbox[auto counter,number within=section]{propertybox}[3][]{%
colback=yellow!5!white, colframe=yellow!50!black, fonttitle=\bfseries,
title=Property~\thetcbcounter~#2, label={#3}, #1, breakable}
\newtcolorbox[auto counter,number within=section]{lemmabox}[3][]{%
colback=C3!5!white, colframe=C3, fonttitle=\bfseries,
title=Lemma~\thetcbcounter~#2, label={#3}, #1, breakable}
\newtcolorbox[auto counter,number within=section]{theorembox}[3][]{%
colback=Prune!5!white, colframe=Prune, fonttitle=\bfseries,
title=Theorem~\thetcbcounter~#2, label={#3}, #1, breakable}
\newtcolorbox[auto counter,number within=section]{corollarybox}[3][]{%
colback=teal!5!white, colframe=teal!70!black, fonttitle=\bfseries,
title=Corollary~\thetcbcounter~#2, label={#3}, #1, breakable}
\newtcolorbox[auto counter,number within=section]{assumptionbox}[3][]{%
colback=B1!5!white, colframe=B1, fonttitle=\bfseries,
title=Assumption~\thetcbcounter~#2, label={#3}, #1, breakable}
\tcbset{
mydesignprocedure/.style={
colback=gray!5, colframe=B1, boxrule=0.5pt, arc=2mm,
left=2mm, right=2mm, top=1mm, bottom=1mm,
fonttitle=\bfseries, breakable}}
%==============================================================================
% GLOSSARY / ACRONYMS & NOMENCLATURE
%==============================================================================
\usepackage[toc,acronym, nogroupskip]{glossaries} % nogroupskip = no letter grouping
\makeglossaries
\input{chapters/acronym}
% \gls{<label>} first use: long (short); afterwards: short
% \glsentrylong{<label>} long form only
% \glsentryshort{<label>} short form only
\usepackage{nomencl}
\makenomenclature
% \renewcommand{\nomname}{List of Symbols} % rename "Nomenclature" if desired
\input{chapters/nomenclature}
%==============================================================================
% CUSTOM MACROS
%==============================================================================
\newcommand\blankpage{%
\null\thispagestyle{empty}\addtocounter{page}{-1}\newpage}
% calligraphic / blackboard shortcuts
\newcommand{\Acal}{\mathcal{A}} \newcommand{\Bcal}{\mathcal{B}}
\newcommand{\Ccal}{\mathcal{C}} \newcommand{\Dcal}{\mathcal{D}}
\newcommand{\Ecal}{\mathcal{E}} \newcommand{\Fcal}{\mathcal{F}}
\newcommand{\Gcal}{\mathcal{G}} \newcommand{\Hcal}{\mathcal{H}}
\newcommand{\Ical}{\mathcal{I}} \newcommand{\Kcal}{\mathcal{K}}
\newcommand{\Lcal}{\mathcal{L}} \newcommand{\Mcal}{\mathcal{M}}
\newcommand{\Ncal}{\mathcal{N}} \newcommand{\Pcal}{\mathcal{P}}
\newcommand{\Scal}{\mathcal{S}} \newcommand{\Tcal}{\mathcal{T}}
\newcommand{\Vcal}{\mathcal{V}}
\newcommand{\Gcalbar}{\overline{\mathcal{G}}}
\newcommand{\Kbb}{\mathbb{K}} \newcommand{\Mbb}{\mathbb{M}}
\newcommand{\Nbb}{\mathbb{N}} \newcommand{\Rbb}{\mathbb{R}}
\newcommand{\Sbb}{\mathbb{S}} \newcommand{\Zbb}{\mathbb{Z}}
\newcommand{\abb}{\mathbbm{a}} \newcommand{\bbb}{\mathbbm{b}}
\newcommand{\fbb}{\mathbbm{f}}
% operators
\newcommand{\col}{\text{col}} \newcommand{\diag}{\text{diag}}
\newcommand{\He}{\text{He}} \newcommand{\Ima}{\text{Im}}
\newcommand{\Ker}{\text{Ker}} \newcommand{\rank}{\text{rank}}
\newcommand{\VMA}{\text{VMA}} \newcommand{\s}{\text{ s}}
\newcommand{\veps}{\varepsilon}
% overbars / underbars
\newcommand{\overbar}[1]{\mkern 1.5mu\overline{\mkern-1.5mu#1\mkern-1.5mu}\mkern 1.5mu}
\newcommand{\ov}{\overbar}
\newcommand{\bunderline}[1]{\underline{#1\mkern-4mu}\mkern4mu }
\newcommand{\Abar}{\overbar{A}} \newcommand{\Bbar}{\overbar{B}}
\newcommand{\Cbar}{\overbar{C}} \newcommand{\Fbar}{\overbar{F}}
\newcommand{\Kbar}{\overbar{K}} \newcommand{\Lbar}{\overbar{L}}
\newcommand{\Xbar}{\overbar{X}} \newcommand{\Ybar}{\overbar{Y}}
\newcommand{\xibar}{\overbar{\xi}}
% review / color helpers
\newcommand{\blue}{\textcolor{blue}}
\newcommand{\red}{\textcolor{red}}
\newcommand{\review}{\textcolor{black}} % switch to \textcolor{blue} to highlight revisions
%==============================================================================
\begin{document}
\sloppy % automatic line breaks when necessary
\pagenumbering{roman} % lowercase roman numerals for front matter
%==============================================================================
% TITLE PAGE (official Paris-Saclay cover)
%==============================================================================
\begin{titlepage}
\newgeometry{left=6cm,bottom=2cm, top=1cm, right=1cm}
\tikz[remember picture,overlay]
\node[opacity=1,inner sep=0pt] at (-13mm,-135mm){\includegraphics{Frame-ups.pdf}};
% ---- thesis number (NNT) — filled in for the SECOND deposit -----------------
\color{white}
\begin{picture}(0,0)
\put(-152,-743){\rotatebox{90}{\Large \textsc{THESE DE DOCTORAT}}} \\
\put(-120,-743){\rotatebox{90}{NNT : 2025UPAST123}} % >>> EDIT: NNT number
\end{picture}
% ---- partner logo if co-tutelle (uncomment & replace) ----------------------
% \vspace{-14mm}
% \flushright \includegraphics[scale=1]{logo2.png}
% ---- TITLE -----------------------------------------------------------------
\flushright
\vspace{10mm}
\color{Prune}
\fontsize{22}{26}\selectfont
\Huge
Your Thesis Title in English % >>> EDIT: title (main language)
\vspace{5mm}
\normalsize
\color{black}
\Large{\textit{
Le titre de votre thèse en français % >>> EDIT: title (other language)
}} \\
\fontsize{8}{12}\selectfont
\vspace{1.5cm}
\normalsize
\textbf{Thèse de doctorat de l'université Paris-Saclay} \\
\vspace{6mm}
% >>> EDIT: doctoral school, specialty, graduate school
\small École doctorale n$^{\circ}$ 580, Sciences et Technologies de l'Information et de la Communication (STIC)\\
\small Spécialité de doctorat: Automatique\\
\small Graduate School : Sciences de l'Ingénierie et des Systèmes. Référent : Université d'Évry Val d'Essonne \\
\vspace{6mm}
% >>> EDIT: research unit and supervisor(s)
\footnotesize Thèse préparée dans l'unité de recherche \textbf{%
IBISC (Université Paris-Saclay, Univ Evry)}, sous la direction de \textbf{Prénom NOM},
Titre, Établissement \\
\vspace{15mm}
% >>> EDIT: defense place/date and candidate name
\textbf{Thèse soutenue à Paris-Saclay, le JJ mois AAAA, par}\\
\bigskip
\Large {\color{Prune} \textbf{Prénom NOM}}
\vspace{\fill} % push the jury table to the bottom of the page
\bigskip
% ---- JURY ------------------------------------------------------------------
\flushleft
\small {\color{Prune} \textbf{Composition du jury}}\\
{\color{Prune} \scriptsize {Membres du jury avec voix délibérative}} \\
\vspace{2mm}
\scriptsize
\begin{tabular}{|p{7cm}l}
\arrayrulecolor{Prune}
% >>> EDIT: jury members (Name / role on the right, affiliation underneath)
\textbf{Prénom NOM} & Président·e \\
Titre, Établissement & \\
\textbf{Prénom NOM} & Rapporteur·rice \\
Titre, Établissement & \\
\textbf{Prénom NOM} & Rapporteur·rice \\
Titre, Établissement & \\
\textbf{Prénom NOM} & Examinateur·rice \\
Titre, Établissement & \\
\end{tabular}
\end{titlepage}
%==============================================================================
% ABSTRACT PAGE (French "Résumé" + English "Abstract")
% Keep on the 2nd page. If too long, split into two pages.
%==============================================================================
\thispagestyle{empty}
\newgeometry{top=1.5cm, bottom=1.25cm, left=2cm, right=2cm}
\noindent
\includegraphics[height=2.45cm]{logo_usp_STIC.png} % >>> EDIT: your doctoral school logo
\vspace{1cm}
\small
\begin{mdframed}[linecolor=Prune,linewidth=1]
\scriptsize{\textbf{Titre:} Le titre de votre thèse en français} % >>> EDIT
\noindent \scriptsize{\textbf{Mots clés:} mot-clé 1, mot-clé 2, mot-clé 3, mot-clé 4} % >>> EDIT
\vspace{-.5cm}
\begin{multicols}{2}
\noindent \scriptsize{\textbf{Résumé:}}
\input{chapters/resume}
\end{multicols}
\end{mdframed}
\begin{mdframed}[linecolor=Prune,linewidth=1]
\scriptsize{\textbf{Title:} Your thesis title in English} % >>> EDIT
\noindent \scriptsize{\textbf{Keywords:} keyword 1, keyword 2, keyword 3, keyword 4} % >>> EDIT
\vspace{-.5cm}
\begin{multicols}{2}
\noindent \scriptsize{\textbf{Abstract:}}
\input{chapters/abstract}
\end{multicols}
\end{mdframed}
%==============================================================================
% HEADING STYLES (chapter / section / subsection)
%==============================================================================
\titleformat{\chapter}[hang]{\bfseries\Large\color{Prune}}{\thechapter\ -}{.1ex}
{\vspace{0.1ex}}[\vspace{1ex}]
\titlespacing{\chapter}{0pc}{0ex}{0.5pc}
\titleformat{\section}[hang]{\bfseries\normalsize}{\thesection\ .}{0.5pt}
{\vspace{0.1ex}}[\vspace{0.1ex}]
\titlespacing{\section}{1.5pc}{4ex plus .1ex minus .2ex}{.8pc}
\titleformat{\subsection}[hang]{\bfseries\small}{\thesubsection\ .}{1pt}
{\vspace{0.1ex}}[\vspace{0.1ex}]
\titlespacing{\subsection}{3pc}{2ex plus .1ex minus .2ex}{.1pc}
%==============================================================================
% DEDICATION
%==============================================================================
\newgeometry{top=4cm, bottom=4cm, left=2cm, right=2cm}
\vspace*{0.1\textheight}
\begin{flushright}
Dedicated to \dots % >>> EDIT: dedication (or remove this block)
\vspace{5em}
% \textit{``A quote you like.''} \\
% (Author -- Source)
\end{flushright}
\newpage
%==============================================================================
% FRONT MATTER
%==============================================================================
\tableofcontents
\input{chapters/acknowledgement}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables
\printglossary[type=\acronymtype]
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Nomenclature}
\printnomenclature
%==============================================================================
% MAIN MATTER
%==============================================================================
\newgeometry{top=3cm, bottom=3cm, left=3cm, right=3cm}
\cleardoublepage
\pagenumbering{arabic} % switch to arabic numerals
\setcounter{page}{1}
% >>> EDIT: list your chapters here
\input{chapters/introduction}
\input{chapters/chapter_example}
\input{chapters/conclusion}
%==============================================================================
% APPENDICES
%==============================================================================
\appendix
\input{chapters/appendix1}
%==============================================================================
% BIBLIOGRAPHY
%==============================================================================
\pagebreak
\bibliographystyle{apalike_modified}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{references} % >>> EDIT: your .bib file name (without extension)
\end{document}