%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% OIST Doctoral Thesis
% LaTeX Template
% Version 0.3 (2018/03) -> updated (2024/06)
%
% Original author:
% Jeremie Gillet
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%-------------------------------------------------------------------------------
% REQUIRED PACKAGES AND CONFIGURATIONS
%-------------------------------------------------------------------------------
\documentclass[temporary]{oist_thesis} % Temporary version for thesis revision and examination
%\documentclass[final]{oist_thesis} % Final version for thesis submission
% The documentclass oist_thesis includes the following packages: geometry, caption, xkeyval
\usepackage[english]{babel} % The document is in English
\usepackage[utf8]{inputenc} % UTF8 encoding
\usepackage[T1]{fontenc} % Font encoding
\usepackage{graphicx} % For including images
\graphicspath{{./Images/}} % Specifies the directory where pictures are stored
\usepackage{eso-pic} % For the background picture on the title page
\usepackage{setspace} % For using single or double spacing
\usepackage{longtable} % tables that can span several pages
\usepackage{pdfpages} % To include a pdf files of your published papers as an appendix
\usepackage{fancyhdr} % For the headers
\usepackage{hyperref} % Adds clickable links at references
%----------------------------------------------------------------------------------------
% ADD YOUR PACKAGES (be careful of package interaction)
%----------------------------------------------------------------------------------------
\usepackage{amsthm,amsmath,amssymb,amsfonts,bbm}% Math symbols
\usepackage{amsthm,amsmath,amssymb,amsfonts,bbm}% Math symbols
\usepackage{adjustbox}
\usepackage{rotating}
\usepackage{siunitx}
\usepackage{graphicx} %For signature to put next to word "Signature:"
\usepackage{helvet} % Provides Helvetica (similar to Arial)
\usepackage{caption} %Make font size from 12 (defalt) to 10
\captionsetup{font={footnotesize}, justification = raggedright,
singlelinecheck = false}%Make font size from 12 (defalt) to 10
% Redefine caption font
\makeatletter
\let\old@captionfont\captionfont
\def\captionfont{\old@captionfont\footnotesize\sffamily}
\makeatother
\usepackage{appendix}
\usepackage{tocloft}
%----------------------------------------------------------------------------------------
% ADD YOUR DEFINITIONS AND COMMANDS
%----------------------------------------------------------------------------------------
% Example of New Commands
\newcommand{\bea}{\begin{eqnarray}} % Shortcut for equation arrays
\newcommand{\eea}{\end{eqnarray}}
\newcommand{\e}[1]{\times 10^{#1}} % Powers of 10 notation
% Example of Defining a theorem box for Criteria
\newtheorem{critere}{Criterion}
\newcommand{\crit}[2]{
\begin{center}
\fbox{ \begin{minipage}[c]{0.9 \textwidth}
\begin{critere}
\textbf{\textup{ #1}} --- #2
\end{critere}
\end{minipage} } \end{center}
}
%----------------------------------------------------------------------------------------
% PICK YOUR BIBLIOGRAPHY STYLE
%----------------------------------------------------------------------------------------
\usepackage[square, numbers, sort&compress]{natbib} % for bibliography - Square brackets, citing references with numbers, citations sorted by appearance in the text and compressed (as in [4-7])
%\usepackage[longnamesfirst,round]{natbib} % Natural Sciences bibliography
%\bibliographystyle{Preamble/physics_bibstyle} % You may use a different style adapted to your field
%\bibliographystyle{abbrvnat}
\bibliographystyle{ieeetr}
% You may use a different style adapted to your field
%-------------------------------------------------------------------------------
% TITLE PAGE
%-------------------------------------------------------------------------------
\usepackage{titletoc}
\begin{document}
\pagestyle{empty} % No page numbers
\frontmatter % Use roman page numbering style (i, ii, iii, iv...) for the preamble pages
\puttitle{
title=\LaTeX\ Thesis Template, % Title of the thesis
name=Jeremie Gillet, % Author name
supervisor=S.~Upervisor, % Supervisor name
cosupervisor=C.~O'Supervisor, % Co-Supervisor name, remove this line if there is none
submissiondate={March 2018} % Submission date "Month, year"
}
%-------------------------------------------------------------------------------
% PREAMBLE PAGES (delete unnecessary pages)
%-------------------------------------------------------------------------------
\startpreamble
\fancypagestyle{plain}{%
\fancyhf{}
%\fancyhead[RO,LE]{\thepage}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0pt} % Optional
}
\input{Preamble/declaration}
\input{Preamble/abstract}
\input{Preamble/acknowledgments}
\input{Preamble/abbreviations}
\input{Preamble/glossary}
\input{Preamble/nomenclature}
\input{Preamble/dedication}
%-------------------------------------------------------------------------------
% LIST OF CONTENTS/FIGURES/TABLES
%-------------------------------------------------------------------------------
\renewcommand{\contentsname}{Table of Contents}
\unnumberedchapter{Table of Contents}
\tableofcontents % Write out the Table of Contents
\unnumberedchapter{List of Figures}
\listoffigures % Write out the List of Figures
\unnumberedchapter{List of Tables}
\listoftables % Write out the List of Tables
%-------------------------------------------------------------------------------
% THESIS MAIN TEXT
%-------------------------------------------------------------------------------
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\mainmatter % Begin numeric (1,2,3...) page numbering
\fancypagestyle{plain}{%
\fancyhf{}
%\fancyhead[RO,LE]{\thepage}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0pt} % Optional
}
\unnumberedchapter{Introduction} % Title of the unnumbered chapter
\input{MainText/introduction} % Introduction (unnumbered)
\numberedchapter % Regular chapters following
\input{MainText/chapter1} % Input your chapters here
\input{MainText/chapter2}
\input{MainText/chapter3}
%\input{MainText/chapter4}
%\input{MainText/chapter5}
\unnumberedchapter{Conclusion} % Title of the unnumbered chapter
\input{MainText/conclusion} % Conclusion (unnumbered)
%-------------------------------------------------------------------------------
% BIBLIOGRAPHY
%-------------------------------------------------------------------------------
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
\unnumberedchapter{Bibliography} % Title of the unnumbered chapter
\bibliography{Preamble/Thesis_bibliography} % The references information are stored in the file named "Thesis_bibliography.bib"
%-------------------------------------------------------------------------------
% APPENDICES (optional)
%-------------------------------------------------------------------------------
\addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
%\appendix
\addtocontents{toc}{\setlength{\cftchapnumwidth}{3cm}}
\begin{appendices}
\titlecontents{chapter}
[0pt] % left margin
{\addvspace{10pt}} % above code
{\contentsmargin{0pt} % numbered entry format
\bfseries Appendix\ \thecontentslabel\enspace}
{\contentsmargin{0pt}\bfseries} % unnumbered entry format
{\hfill\contentspage} % filler-page format
%\numberedchapter % Regular chapters following
\input{MainText/appendixA}
%\input{MainText/appendixB}
%\input{MainText/appendixC}
\end{appendices}
%-------------------------------------------------------------------------------
% PUBLISHED ARTICLES (only appears in temporary thesis)
%-------------------------------------------------------------------------------
\includepublications
\end{document}