diff --git a/phd/1ere.tex b/phd/1ere.tex new file mode 100644 index 0000000..797c5d5 --- /dev/null +++ b/phd/1ere.tex @@ -0,0 +1,73 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Front cover – Institut Polytechnique de Paris +%%% This file is included via \includepdf[pages=1]{1ere.pdf} in the main document. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\thispagestyle{empty} + +\color{black} \hfill \vfill \tiny \ecodocnum +\begin{textblock}{5}(0,0) + \textblockcolour{black} + \includegraphics [scale=0.95]{media/bande.png} + \vspace{300mm} +\end{textblock} + +\begin{textblock}{1}(0.6,3) + \Large{\rotatebox{90}{\color{white}{\textbf{NNT : \NNT}}}} +\end{textblock} + +\begin{textblock}{1}(\hpostt,\vpostt) + \textblockcolour{white} + \includegraphics[scale=1]{media/etab/\logoEtt.png} +\end{textblock} + +\begin{textblock}{1}(\hpos,\vpos) + \textblockcolour{white} + \includegraphics[scale=1]{media/etab/\logoEt.png} +\end{textblock} + +%% Texte +\begin{textblock}{10}(5.7,3) + \textblockcolour{white} + + \color{black} + \begin{flushright} + \huge{\PhDTitle} \bigskip + \vfill + \color{black} + \normalsize {Thèse de doctorat de l'Institut Polytechnique de Paris} \\ + préparée à \PhDworkingplace \\ \bigskip + \vfill + École doctorale n$^{\circ}$\ecodocnum ~\ecodoctitle ~(\ecodocacro) \\ + + \small{Spécialité de doctorat: \PhDspeciality} \bigskip + \vfill + \footnotesize{Thèse présentée et soutenue à \defenseplace, le \defensedate, par} \bigskip + \vfill + \Large{\textbf{\textsc{\PhDname}}} + \vfill + \end{flushright} + + \color{black} + %% Jury + \begin{flushleft} + \small Composition du Jury : + \end{flushleft} + + \small + \newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} + \newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}lm{#1}} + + \begin{flushleft} + \begin{tabular}{@{} L{9.5cm} R{4.5cm}} + \jurynameA \\ \juryadressA & \juryroleA \\[5pt] + \jurynameB \\ \juryadressB & \juryroleB \\[5pt] + \jurynameC \\ \juryadressC & \juryroleC \\[5pt] + \jurynameD \\ \juryadressD & \juryroleD \\[5pt] + \jurynameE \\ \juryadressE & \juryroleE \\[5pt] + \jurynameF \\ \juryadressF & \juryroleF \\[5pt] + \jurynameG \\ \juryadressG & \juryroleG \\[5pt] + \jurynameH \\ \juryadressH & \juryroleH \\[5pt] + \end{tabular} + \end{flushleft} +\end{textblock} \ No newline at end of file diff --git a/phd/4eme.tex b/phd/4eme.tex new file mode 100644 index 0000000..a5e4deb --- /dev/null +++ b/phd/4eme.tex @@ -0,0 +1,86 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% 4eme.tex — Back cover +%%% Template for the back cover of theses prepared at +%%% the Institut Polytechnique de Paris +%%% This file is included via \includepdf[pages=1]{4eme.pdf} in the main document. +%%% Must be compiled first, and compile main after they are treated as independant pdf documents +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PLEASE NOTE: this information must fit on a single page +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%Form — Replace the parameters with your information +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newcommand{\logoEd}{ed} +\newcommand{\PhDTitleFR}{titre (en français)} +\newcommand{\keywordsFR}{3 à 6 mots clés} +\newcommand{\abstractFR}{\lipsum[1-3]} + +\newcommand{\PhDTitleEN}{titre (en anglais)} +\newcommand{\keywordsEN}{3 à 6 mots clés} +\newcommand{\abstractEN}{\lipsum[1-3]} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Back cover layout +%%% DO NOT CHANGE ANYTHING +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\clearpage +\thispagestyle{empty} +\newgeometry{left=16mm, top=30mm, right=16mm, bottom=30mm} + +%%% Doctoral school logo +\begin{textblock*}{61mm}(16mm,3mm) + \noindent\includegraphics[height=24mm]{media/ed/\logoEd.jpeg} +\end{textblock*} + +%%% Title and summary in French +\begin{center} +\fcolorbox{black}{white}{\parbox{0.95\textwidth}{ +{\bf Titre:} \PhDTitleFR +\medskip + +{\bf Mots clés:} \keywordsFR +\vspace{-2mm} + +\begin{multicols}{2} +{\bf Résumé:} +\abstractFR +\end{multicols} +}} +\end{center} + +\vspace*{0mm} + +%%% Title and summary in English +\begin{center} +\fcolorbox{black}{white}{\parbox{0.95\textwidth}{ +{\bf Title:} \PhDTitleEN + +\medskip + +{\bf Keywords:} \keywordsEN +\vspace{-2mm} +\begin{multicols}{2} + +{\bf Abstract:} +\abstractEN +\end{multicols} +}} +\end{center} + +%%% IPParis footer +\begin{textblock*}{161mm}(10mm,270mm) +\color{black} +{\bf\noindent Institut Polytechnique de Paris} + +\noindent +\noindent 91120 Palaiseau, France +\end{textblock*} + +\begin{textblock*}{20mm}(175mm,265mm) +\includegraphics[width=20mm]{media/IPPARIS-petit} +\end{textblock*} + +\restoregeometry diff --git a/phd/Modele_these_IP_Paris/.DS_Store b/phd/Modele_these_IP_Paris/.DS_Store new file mode 100644 index 0000000..bf231fe Binary files /dev/null and b/phd/Modele_these_IP_Paris/.DS_Store differ diff --git a/phd/Modele_these_IP_Paris/IPPARIS-petit.png b/phd/Modele_these_IP_Paris/IPPARIS-petit.png new file mode 100644 index 0000000..22cad73 Binary files /dev/null and b/phd/Modele_these_IP_Paris/IPPARIS-petit.png differ diff --git a/phd/Modele_these_IP_Paris/bande.png b/phd/Modele_these_IP_Paris/bande.png new file mode 100644 index 0000000..2b33032 Binary files /dev/null and b/phd/Modele_these_IP_Paris/bande.png differ diff --git a/phd/Modele_these_IP_Paris/blank.png b/phd/Modele_these_IP_Paris/blank.png new file mode 100644 index 0000000..271a3df Binary files /dev/null and b/phd/Modele_these_IP_Paris/blank.png differ diff --git a/phd/Modele_these_IP_Paris/ed/ed.jpeg b/phd/Modele_these_IP_Paris/ed/ed.jpeg new file mode 100644 index 0000000..08b447a Binary files /dev/null and b/phd/Modele_these_IP_Paris/ed/ed.jpeg differ diff --git a/phd/Modele_these_IP_Paris/etab/ENSAE.png b/phd/Modele_these_IP_Paris/etab/ENSAE.png new file mode 100644 index 0000000..cdafbb6 Binary files /dev/null and b/phd/Modele_these_IP_Paris/etab/ENSAE.png differ diff --git a/phd/Modele_these_IP_Paris/etab/ENSTA.png b/phd/Modele_these_IP_Paris/etab/ENSTA.png new file mode 100644 index 0000000..c71150e Binary files /dev/null and b/phd/Modele_these_IP_Paris/etab/ENSTA.png differ diff --git a/phd/Modele_these_IP_Paris/etab/TP.png b/phd/Modele_these_IP_Paris/etab/TP.png new file mode 100644 index 0000000..8b309b3 Binary files /dev/null and b/phd/Modele_these_IP_Paris/etab/TP.png differ diff --git a/phd/Modele_these_IP_Paris/etab/TSP.png b/phd/Modele_these_IP_Paris/etab/TSP.png new file mode 100644 index 0000000..73ae92f Binary files /dev/null and b/phd/Modele_these_IP_Paris/etab/TSP.png differ diff --git a/phd/Modele_these_IP_Paris/etab/X.png b/phd/Modele_these_IP_Paris/etab/X.png new file mode 100644 index 0000000..b4fa30d Binary files /dev/null and b/phd/Modele_these_IP_Paris/etab/X.png differ diff --git a/phd/Modele_these_IP_Paris/etab/blank.png b/phd/Modele_these_IP_Paris/etab/blank.png new file mode 100644 index 0000000..6e438d9 Binary files /dev/null and b/phd/Modele_these_IP_Paris/etab/blank.png differ diff --git a/phd/Modele_these_IP_Paris/etab/etab.png b/phd/Modele_these_IP_Paris/etab/etab.png new file mode 100644 index 0000000..a9be37a Binary files /dev/null and b/phd/Modele_these_IP_Paris/etab/etab.png differ diff --git a/phd/Modele_these_IP_Paris/etab/etab2.png b/phd/Modele_these_IP_Paris/etab/etab2.png new file mode 100644 index 0000000..10917ac Binary files /dev/null and b/phd/Modele_these_IP_Paris/etab/etab2.png differ diff --git a/phd/Read_me.txt b/phd/Read_me.txt new file mode 100644 index 0000000..d86a1bc --- /dev/null +++ b/phd/Read_me.txt @@ -0,0 +1,118 @@ +================================================================================ + PhD Thesis LaTeX Template - Institut Polytechnique de Paris +================================================================================ + +OVERVIEW +-------- +This is a LaTeX template for writing a PhD thesis following the formatting +requirements of Institut Polytechnique de Paris (IP Paris). It includes a +styled front cover, back cover, chapter formatting, headers, bibliography +management, and appendix handling. + + +-------------------------------------------------------------------------------- +REPOSITORY STRUCTURE +-------------------------------------------------------------------------------- + +├── main.tex # Main document – compile this last +├── 1ere.tex # Front cover – compile this first +├── 4eme.tex # Back cover – compile this first +├── thesisehess.sty # Custom style package +├── biblio.bib # Bibliography file +└── Modele_these_IP_Paris/ # IP Paris cover assets + ├── ed/ # Doctoral school logos + ├── etab/ # Institution logos + ├── bande.png # IP Paris side band image + ├── blank.png # Blank placeholder image + └── IPPARIS-petit.png # IP Paris small logo + +-------------------------------------------------------------------------------- +FILE DESCRIPTIONS +-------------------------------------------------------------------------------- + +1ere.tex - Front Cover + Generates the front cover of the thesis following the official IP Paris + layout. It sets the black side band, the NNT number, the institution logos, + the thesis title, the PhD programme information (doctoral school, speciality, + defence date and location), and the jury composition table. It must be + compiled separately to produce 1ere.pdf, which is then embedded into + main.tex via \includepdf. + +4eme.tex - Back Cover + Generates the back cover of the thesis. It typically contains the thesis + abstract in French and English, keywords, and the institution branding. + Like the front cover, it must be compiled separately to produce 4eme.pdf + before compiling main.tex. + +main.tex - Main Document + The central file that assembles the full thesis. It includes, in order: + the front cover (1ere.pdf), a blank page, the acknowledgements, table of + contents, summaries, general introduction (with its own bibliography), the + thesis chapters (each with an abstract, sections, and an appendix), a global + bibliography, lists of figures and tables, and the back cover (4eme.pdf). + This is the only file you need to compile to produce the complete thesis PDF + -- but only after 1ere.tex and 4eme.tex have been compiled first. + +thesisehess.sty - Style Package + The custom LaTeX style package that controls the overall appearance of the + document. It handles: + + - Page layout: A4 format with 2.5 cm margins. + - Chapter and section styles: custom fonts and sizes for chapter titles, + sections, subsections, and subsubsections. + - Headers and footers: two page styles are defined: + * plain_center: centered page number at the bottom, chapter title at + the top right, with a header rule. Used for the main content. + * noheader: centered page number only, no header rule. Used for + prefatory pages such as the table of contents and summaries. + - Line spacing: 1.5 line spacing throughout. + - Hyperlinks: all internal links (table of contents, citations, + cross-references) are set to black for a clean print appearance. + + +-------------------------------------------------------------------------------- +COVER PAGE ASSETS +-------------------------------------------------------------------------------- + +The images and graphics used for the front and back covers are provided by +IP Paris in the official thesis cover template: + + "Modele de these IP Paris" + +You can download the official template from the IP Paris doctoral school +resources. Place the required images in the Modele_these_IP_Paris/ folder +as expected by 1ere.tex and 4eme.tex. + + +-------------------------------------------------------------------------------- +!! IMPORTANT: COMPILATION ORDER +-------------------------------------------------------------------------------- + +You must compile the cover files before compiling the main document. + +The front and back covers are included in main.tex as pre-compiled PDFs using +\includepdf. This means that any changes made to 1ere.tex or 4eme.tex will NOT +appear in the final document unless you recompile them first. + +Compilation order: + + Step 1 - Compile 1ere.tex --> generates 1ere.pdf + Step 2 - Compile 4eme.tex --> generates 4eme.pdf + Step 3 - Compile main.tex --> generates the full thesis + +NOTE: If you update your name, title, jury members, or any other information +in the cover files, remember to recompile 1ere.tex and/or 4eme.tex before +recompiling main.tex, otherwise the changes will not be reflected. + + +-------------------------------------------------------------------------------- +GETTING STARTED +-------------------------------------------------------------------------------- + + 1. Fill in your personal information (name, thesis title, jury, etc.) + in 1ere.tex and 4eme.tex. + 2. Follow the compilation order above. + 3. Replace all \blindtext placeholders in main.tex with your actual content. + 4. Add \markboth{Section Title}{Section Title} at the start of each chapter, + section, and subsection to control the page header text. + diff --git a/phd/biblio.bib b/phd/biblio.bib new file mode 100644 index 0000000..e69de29 diff --git a/phd/main.tex b/phd/main.tex new file mode 100644 index 0000000..2bffd74 --- /dev/null +++ b/phd/main.tex @@ -0,0 +1,245 @@ +%%% DOCUMENT EXPLANATION: +%%% Remove: \blindtext +%%% Add at each chapter, section, and subsection start to set what is written in the page header: \markboth{Chapter Title}{Chapter Title} + +\documentclass{book} +\usepackage{thesisehess} +\usepackage{pdfpages} + + +\begin{document} + + +%%% Front cover IPParis %%% +%%% PLEASE: Compile 1ere.tex first!!!!! +\includepdf[pages=1]{1ere.pdf} + +% Blank page for page 2: +\thispagestyle{empty} + + +% Acknowledgments +\chapter*{Acknowledgments - Remerciements} +\pagestyle{noheader} +\blindtext + + +% Table of Contents + +\tableofcontents +\pagestyle{noheader} + +% Summary [ENGLISH AND French] +\chapter*{Summary} +\pagestyle{noheader} +\blindtext + +\chapter*{Résumé} +\pagestyle{noheader} +\blindtext + + +% General Introduction + +\begin{bibunit}[chicago] % Set general introduction bibliography start (take into account only references \cite in between \bengin{bibunit} et \end{bibunit} + +% General Introduction +\chapter*{General Introduction} +\markboth{General Introduction}{General Introduction} +\pagestyle{plain_center} +\blindtext + + +% Introduction générale (translation) +\chapter*{Introduction générale} +\markboth{Introduction générale}{Introduction générale} +\blindtext + +% Bibliography General Introduction +\newpage +\singlespacing +\renewcommand{\bibname}{Bibliography General Introduction} +\putbib[biblio] +\end{bibunit} + + +% Chapter 1 +\chapter{Chapter Title} +\markboth{Chapter Title}{Chapter Title} +\pagestyle{plain_center} + +\newpage +% Abstract Chapter 1 +\section*{Abstract} +\markboth{Abstract}{Abstract} + +\newpage +% Chapter 1 Section1 +\section{Titre de niveau 1} +\blindtext + +% Chapter 1 Subsection1 +\subsection{Titre de niveau 1.1} +\markboth{Titre de niveau 1.1}{Titre de niveau 1.1} +\blindtext + +% Chapter 1 Subsubsection1 +\subsection{Titre de niveau 1.1.1} +\markboth{Titre de niveau 1.1.1}{Titre de niveau 1.1.1} +\blindtext + +% Appendix chapter 1 +\newpage +\section*{Appendix To Chapter 1} +\markboth{Appendix To Chapter 1}{Appendix To Chapter 1} + +%%%%%%%%%%%%%%%% Settings Appendix %%%%%%%%%%%%%%% +% Set table and figure numbering to 0 +% Add letter prefix to table and figure names +\setcounter{table}{0} +\renewcommand{\thetable}{A\arabic{table}} +\setcounter{figure}{0} +\renewcommand{\thefigure}{A\arabic{figure}} +\setcounter{section}{0} +\renewcommand{\thesection}{A\arabic{section}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\section{Appendix 1} +\section{Appendix 2} + +%%%%%%%%%%%%%%%% Transition between Chapters %%%%%%%%%%%%%%% +% Reset table and figure numbering to 0 +% Remove letter prefix from table and figure names +\setcounter{table}{0} +\renewcommand{\thetable}{A\arabic{table}} +\setcounter{figure}{0} +\renewcommand{\thefigure}{A\arabic{figure}} +\setcounter{section}{0} +\renewcommand{\thesection}{A\arabic{section}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +% Chapter 2 +\chapter{Chapter Title 2} +\markboth{Chapter Title 2}{Chapter Title 2} + +\newpage + +% Abstract Chapter 2 +\section*{Abstract} +\markboth{Abstract}{Abstract} +\blindtext +\newpage + +% Chapter 2: Section 1 +\section{Titre de niveau 1} +\markboth{Titre de niveau 1}{Titre de niveau 1} +\blindtext + +% Chapter 2: Subsection 1 +\subsection{Titre de niveau 1.1} +\markboth{Titre de niveau 1.1}{Titre de niveau 1.1} +\blindtext + +% Chapter 2: Subsubsection 1 +\subsubsection{Titre de niveau 1.1.1} +\markboth{Titre de niveau 1.1.1}{Titre de niveau 1.1.1} +\blindtext + +% Appendix chapter 2 +\newpage +\section*{Appendix To Chapter 2} +\markboth{Appendix To Chapter 2}{Appendix To Chapter 2} + +%%%%%%%%%%%%%%%% Settings Abstract %%%%%%%%%%%%%%% +% Set tables and figure numerotation to 0 +% Integrate letter to Tables and Figures name +\setcounter{table}{0} +\renewcommand{\thetable}{A\arabic{table}} +\setcounter{figure}{0} +\renewcommand{\thefigure}{A\arabic{figure}} +\setcounter{section}{0} +\renewcommand{\thesection}{A\arabic{section}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\section{Appendix 1} +\section{Appendix 2} + +%%%%%%%%%%%%%%%% Transition between Chapters %%%%%%%%%%%%%%% +% Reset table and figure numbering to 0 +% Remove letter prefix from table and figure names +\setcounter{table}{0} +\renewcommand{\thetable}{A\arabic{table}} +\setcounter{figure}{0} +\renewcommand{\thefigure}{A\arabic{figure}} +\setcounter{section}{0} +\renewcommand{\thesection}{A\arabic{section}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Chapter 3 +\chapter{Chapter Title 3} +\markboth{Chapter Title 3}{Chapter Title 3} + +\newpage +% Abstract : Chapter 3 +\section*{Abstract} +\markboth{Abstract}{Abstract} +\blindtext +\newpage + +% Chapter 3: section 1 +\section{Titre de niveau 1} +\markboth{Titre de niveau 1}{Titre de niveau 1} +\blindtext + +% Chapter 3: subsection 1 +\subsection{Titre de niveau 1.1} +\markboth{Titre de niveau 1.1}{Titre de niveau 1.1} +\blindtext + +% Chapter 3: subsubsection 1 +\subsection{Titre de niveau 1.1.1} +\markboth{Titre de niveau 1.1.1}{Titre de niveau 1.1.1} +\blindtext + +% Appendix Chapter 3 +\newpage +\section*{Appendix To Chapter 3} +\markboth{Appendix To Chapter 3}{Appendix To Chapter 3} + +%%%%%%%%%%%%%%%% Settings Abstract %%%%%%%%%%%%%%% +% Set tables and figure numerotation to 0 +% Integrate letter to Tables and Figures name +\setcounter{table}{0} +\renewcommand{\thetable}{A\arabic{table}} +\setcounter{figure}{0} +\renewcommand{\thefigure}{A\arabic{figure}} +\setcounter{section}{0} +\renewcommand{\thesection}{A\arabic{section}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\section{Appendix 1} +\section{Appendix 2} + + +% Bibliography for all papers +\newpage + +\chapter*{Bibliography} +\markboth{Bibliography}{Bibliography} +\singlespacing +\bibliographystyle{chicago} +\bibliography{biblio} + +% List of figures +\listoffigures + +% List of tables +\listoftables + + +%%% Back cover IPParis %%% +%%% First compile 4eme.tex separately, then include the resulting PDF: +\includepdf[pages=1]{4eme.pdf} + +\end{document} \ No newline at end of file diff --git a/phd/thesisehess.sty b/phd/thesisehess.sty new file mode 100644 index 0000000..c6b83d5 --- /dev/null +++ b/phd/thesisehess.sty @@ -0,0 +1,65 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{thesisehess} +% Required Packages +\RequirePackage[utf8]{inputenc} +\RequirePackage[T1]{fontenc} +\RequirePackage{fix-cm} +\RequirePackage[english]{babel} +\RequirePackage{graphicx} +\RequirePackage{geometry} +\RequirePackage{xcolor} +\RequirePackage{titling} +\RequirePackage{titlesec} +\RequirePackage{fancyhdr} +\RequirePackage{tikz} +\usetikzlibrary{calc} +\RequirePackage{caption} +\RequirePackage{lipsum} +\RequirePackage{blindtext} +\RequirePackage[hidelinks]{hyperref} +\RequirePackage{bibunits} +\RequirePackage{afterpage} +% Page layout settings +\geometry{a4paper, margin=2.5cm} +\hypersetup{ + linkcolor=black, + citecolor=black, + filecolor=black, + urlcolor=black, + linktoc=all +} +% Chapter title page style – separate page with: "Chapter" and number (top left) and chapter title +\titleformat{\chapter}[display] + {\huge\bfseries} % Size of "Chapter" label + {\chaptertitlename\ \thechapter} % "Chapter" label and chapter number + {20pt} % Space between chapter label and chapter title + {\Huge\raggedright} % Size of chapter title + +% Section styles +\titleformat{\section} + {\normalfont\huge\bfseries}{\thesection}{1em}{} +\titleformat{\subsection} + {\normalfont\Large\bfseries}{\thesubsection}{1em}{} +\titleformat{\subsubsection} + {\normalfont\large\bfseries}{\thesubsubsection}{1em}{} +% Headers and centered page numbers +\usepackage{fancyhdr} +\fancypagestyle{plain_center}{ + \fancyhf{} + \fancyfoot[C]{\thepage} + \renewcommand{\headrulewidth}{0.8pt} % Set header rule line width + \fancyhead[R]{\nouppercase{\rightmark}} % Set header with chapter title at the top right +} +\pagestyle{plain_center} % Add both headers and page numbers +\fancypagestyle{noheader}{ + \fancyhf{} + \fancyfoot[C]{\thepage} + \renewcommand{\headrulewidth}{0pt} +} +% Spacing adjustments +\setlength{\headheight}{14.61858pt} % Fixes fancyhdr warning about headheight being too small +\addtolength{\topmargin}{-2.61858pt} % Compensates for the increased headheight to keep the text area unchanged +% Line spacing 1.5 +\usepackage{setspace} +\setstretch{1.5} +\endinput \ No newline at end of file