| 1 |
# mode: yathesis.cls |
| 2 |
# denisbitouze, 2021-03-23 |
| 3 |
# |
| 4 |
#include:class-book |
| 5 |
#include:adjustbox |
| 6 |
#include:array |
| 7 |
#include:babel |
| 8 |
#include:biblatex |
| 9 |
#include:bookmark |
| 10 |
#include:colophon |
| 11 |
#include:csquotes |
| 12 |
#include:datatool |
| 13 |
#include:datetime2 |
| 14 |
#include:draftwatermark |
| 15 |
#include:environ |
| 16 |
#include:epigraph |
| 17 |
#include:etoc |
| 18 |
#include:etoolbox |
| 19 |
#include:fncychap |
| 20 |
#include:geometry |
| 21 |
#include:graphicx |
| 22 |
#include:hypcap |
| 23 |
#include:ifdraft |
| 24 |
#include:iflang |
| 25 |
#include:iftex |
| 26 |
#include:letltxmacro |
| 27 |
#include:marvosym |
| 28 |
#include:morewrites |
| 29 |
#include:nonumonpart |
| 30 |
#include:pgfopts |
| 31 |
#include:setspace |
| 32 |
#include:tabularx |
| 33 |
#include:tcolorbox |
| 34 |
#include:textcase |
| 35 |
#include:titlesec |
| 36 |
#include:translator |
| 37 |
#include:twoopt |
| 38 |
#include:xcolor |
| 39 |
#include:xifthen |
| 40 |
#include:xkeyval |
| 41 |
#include:xpatch |
| 42 |
#include:xstring |
| 43 |
# |
| 44 |
# Document class |
| 45 |
# |
| 46 |
#keyvals:\documentclass/yathesis |
| 47 |
mainlanguage=#french,english |
| 48 |
secnumdepth=#part,chapter,section,subsection,subsubsection,paragraph,subparagraph |
| 49 |
space=#single,onehalf,double |
| 50 |
chap-style=#Sonny,Lenny,Glenn,Conny,Rejne,Bjarne,PetersLenny,Bjornstrup,none |
| 51 |
fncychap=#Sonny,Lenny,Glenn,Conny,Rejne,Bjarne,PetersLenny,Bjornstrup,none |
| 52 |
nofrontcover#true,false |
| 53 |
sepcorpaffilfrench= |
| 54 |
sepcorpaffilenglish= |
| 55 |
version=#inprogress,inprogress*,submitted,submitted*,final,draft |
| 56 |
output=#screen,paper,paper* |
| 57 |
colophon-location=#verso-frontcover,recto-backcover,nowhere |
| 58 |
hdr |
| 59 |
numlaboratories=%<⟨nombre de laboratoires affichés⟩%> |
| 60 |
localtocs |
| 61 |
localtocs/depth=#section,subsection,subsubsection,paragraph,subparagraph |
| 62 |
localbibs |
| 63 |
localbibs* |
| 64 |
10pt |
| 65 |
11pt |
| 66 |
12pt |
| 67 |
leqno |
| 68 |
fleqn |
| 69 |
oneside |
| 70 |
noerror |
| 71 |
noauthor |
| 72 |
notitle |
| 73 |
noacademicfield |
| 74 |
nodate |
| 75 |
noinstitute |
| 76 |
nodoctoralschool |
| 77 |
nolaboratory |
| 78 |
nolaboratoryaddress |
| 79 |
nosupervisor |
| 80 |
nomaketitle |
| 81 |
nokeywords |
| 82 |
noabstract |
| 83 |
nomakeabstract |
| 84 |
notableofcontents |
| 85 |
noprintbibliography |
| 86 |
graphicx={%<⟨options du package graphicx⟩%>} |
| 87 |
adjustbox={%<⟨options du package adjustbox⟩%>} |
| 88 |
setspace={%<⟨options du package setspace⟩%>} |
| 89 |
xcolor={%<⟨options du package xcolor⟩%>} |
| 90 |
datatool={%<⟨options du package datatool⟩%>} |
| 91 |
titlesec={%<⟨options du package titlesec⟩%>} |
| 92 |
draftwatermark={%<⟨options du package draftwatermark⟩%>} |
| 93 |
babel={%<⟨options du package babel⟩%>} |
| 94 |
datetime2={%<⟨options du package datetime2⟩%>} |
| 95 |
corps=%<⟨corporation⟩%> |
| 96 |
role=%<⟨role⟩%> |
| 97 |
#endkeyvals |
| 98 |
# |
| 99 |
\yadsetup{⟨options⟩%keyvals}#n |
| 100 |
# |
| 101 |
# Cover and title pages |
| 102 |
# |
| 103 |
# Author |
| 104 |
\author{⟨prénom⟩}{⟨nom⟩}#n |
| 105 |
\author[⟨email⟩]{⟨prénom⟩}{⟨nom⟩}#n |
| 106 |
# |
| 107 |
# Title, etc. |
| 108 |
\title[⟨titre dans la langue secondaire⟩%text]{⟨titre dans la langue principale⟩%text}#n |
| 109 |
\subtitle[⟨sous-titre dans la langue secondaire⟩%text]{⟨sous-titre dans la langue principale⟩%text}#n |
| 110 |
\academicfield[⟨discipline dans la langue secondaire⟩%text]{⟨discipline dans la langue principale⟩%text}#n |
| 111 |
\speciality[⟨spécialité dans la langue secondaire⟩%text]{⟨spécialité dans la langue principale⟩%text}#n |
| 112 |
\subject[⟨sujet dans la langue secondaire⟩%text]{⟨sujet dans la langue principale⟩%text}#n |
| 113 |
# |
| 114 |
\title{⟨titre⟩%text}#n |
| 115 |
\subtitle{⟨sous-titre⟩%text}#n |
| 116 |
\academicfield{⟨discipline⟩%text}#n |
| 117 |
\speciality{⟨spécialité⟩%text}#n |
| 118 |
\subject{⟨sujet⟩%text}#n |
| 119 |
\date{⟨jour⟩}{⟨mois⟩}{⟨année⟩}#n |
| 120 |
\submissiondate{⟨jour⟩}{⟨mois⟩}{⟨année⟩}#n |
| 121 |
# |
| 122 |
# Institute and entities |
| 123 |
\pres{⟨nom du PRES⟩}#n |
| 124 |
\comue{⟨nom de la ComUE⟩}#n |
| 125 |
\institute{⟨nom de l'institut⟩%text}#n |
| 126 |
\coinstitute{⟨nom de l'institut de cotutelle⟩%text}#n |
| 127 |
\company{⟨nom de l'entreprise⟩}#n |
| 128 |
\doctoralschool{⟨nom de l'école doctorale⟩%text}#n |
| 129 |
\laboratory{⟨nom du laboratoire⟩}{⟨adresse du laboratoire⟩}#n |
| 130 |
# |
| 131 |
\pres[⟨précisions⟩%keyvals]{⟨nom du PRES⟩}#n |
| 132 |
\comue[⟨précisions⟩%keyvals]{⟨nom de la ComUE⟩}#n |
| 133 |
\institute[⟨précisions⟩%keyvals]{⟨nom de l'institut⟩%text}#n |
| 134 |
\coinstitute[⟨précisions⟩%keyvals]{⟨nom de l'institut de cotutelle⟩%text}#n |
| 135 |
\company[⟨précisions⟩%keyvals]{⟨nom de l'entreprise⟩}#n |
| 136 |
\doctoralschool[⟨précisions⟩%keyvals]{⟨nom de l'école doctorale⟩%text}#n |
| 137 |
# |
| 138 |
#keyvals:\pres,\comue,\doctoralschool,\institute,\coinstitute,\company |
| 139 |
logo=%<⟨fichier image⟩%> |
| 140 |
logoheight=%<⟨hauteur⟩%> |
| 141 |
url=%<⟨URL⟩%> |
| 142 |
nologo |
| 143 |
#endkeyvals |
| 144 |
# |
| 145 |
\laboratory[⟨précisions⟩%keyvals]{⟨nom du laboratoire⟩}{⟨adresse du laboratoire⟩}#n |
| 146 |
# |
| 147 |
#keyvals:\laboratory |
| 148 |
logo=%<⟨fichier image⟩%> |
| 149 |
logoheight=%<⟨hauteur⟩%> |
| 150 |
url=%<⟨URL⟩%> |
| 151 |
telephone=%<⟨numéro de téléphone⟩%> |
| 152 |
fax=%<⟨numéro de fax⟩%> |
| 153 |
email=%<⟨courriel⟩%> |
| 154 |
nonamelink |
| 155 |
#endkeyvals |
| 156 |
# |
| 157 |
# Committee |
| 158 |
\supervisor[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n |
| 159 |
\cosupervisor[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n |
| 160 |
\comonitor[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n |
| 161 |
\referee[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n |
| 162 |
\examiner[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n |
| 163 |
\committeepresident[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n |
| 164 |
\guest[⟨précisions⟩%keyvals]{⟨prénom⟩}{⟨nom⟩}#n |
| 165 |
# |
| 166 |
\supervisor{⟨prénom⟩}{⟨nom⟩}#n |
| 167 |
\cosupervisor{⟨prénom⟩}{⟨nom⟩}#n |
| 168 |
\comonitor{⟨prénom⟩}{⟨nom⟩}#n |
| 169 |
\referee{⟨prénom⟩}{⟨nom⟩}#n |
| 170 |
\examiner{⟨prénom⟩}{⟨nom⟩}#n |
| 171 |
\committeepresident{⟨prénom⟩}{⟨nom⟩}#n |
| 172 |
\guest{⟨prénom⟩}{⟨nom⟩}#n |
| 173 |
# |
| 174 |
#keyvals:\supervisor,\cosupervisor,\comonitor,\referee,\examiner,\committeepresident,\guest |
| 175 |
affiliation=%<⟨affiliation⟩%> |
| 176 |
professor |
| 177 |
seniorresearcher |
| 178 |
mcf |
| 179 |
mcf* |
| 180 |
associateprofessor |
| 181 |
associateprofessor* |
| 182 |
juniorresearcher |
| 183 |
juniorresearcher* |
| 184 |
male |
| 185 |
female |
| 186 |
#endkeyvals |
| 187 |
# |
| 188 |
# Misc |
| 189 |
\ordernumber[⟨numéro d'ordre⟩]#n |
| 190 |
\ordernumber#*n |
| 191 |
# |
| 192 |
# Keywords |
| 193 |
\keywords{⟨mots clés dans la langue principale⟩%text}{⟨mots clés dans la langue secondaire⟩%text}#n |
| 194 |
# |
| 195 |
# Title |
| 196 |
\maketitle |
| 197 |
\maketitle[⟨options⟩%keyvals] |
| 198 |
# |
| 199 |
#keyvals:\maketitle |
| 200 |
nofrontcover |
| 201 |
noaim |
| 202 |
frametitle=#shadowbox,ovalbox,none,fbox,{⟨autre⟩} |
| 203 |
#endkeyvals |
| 204 |
# |
| 205 |
# Preliminary part |
| 206 |
# |
| 207 |
\colophontext{⟨texte⟩%text}#n* |
| 208 |
\disclaimertext{⟨clause⟩%text}#n |
| 209 |
\makedisclaimer#n |
| 210 |
\makedisclaimer*#n |
| 211 |
\makekeywords#n |
| 212 |
\makekeywords*#n |
| 213 |
\makelaboratory#n |
| 214 |
\makelaboratory*#n |
| 215 |
\dedication{⟨dédicace⟩%text}#n |
| 216 |
\makededications#n |
| 217 |
\makededications*#n |
| 218 |
\frontepigraph{⟨épigraphe⟩%text}{⟨auteur⟩} |
| 219 |
\frontepigraph[⟨langue⟩]{⟨épigraphe⟩%text}{⟨auteur⟩} |
| 220 |
\makefrontepigraphs#n |
| 221 |
\makefrontepigraphs*#n |
| 222 |
\begin{abstract}#n |
| 223 |
\begin{abstract}[⟨titre alternatif⟩%text]#n* |
| 224 |
\end{abstract}#n |
| 225 |
\makeabstract#n |
| 226 |
\newglssymbol{⟨label⟩%labeldef}{⟨symbole⟩}{⟨nom⟩}{⟨description⟩%text}#n |
| 227 |
\newglssymbol[⟨classement⟩]{⟨label⟩%labeldef}{⟨symbole⟩}{⟨nom⟩}{⟨description⟩%text}#n |
| 228 |
\tableofcontents#n* |
| 229 |
\tableofcontents[⟨précisions⟩%keyvals]#n* |
| 230 |
# |
| 231 |
#keyvals:\tableofcontents |
| 232 |
depth=#part,chapter,section,subsection,subsubsection,paragraph,subparagraph |
| 233 |
name=%<⟨nom de la table des matières⟩%> |
| 234 |
#endkeyvals |
| 235 |
# |
| 236 |
# Main part |
| 237 |
# |
| 238 |
\chapter{⟨titre⟩%title}#L1 |
| 239 |
\chapter*{⟨titre⟩%title}#L1 |
| 240 |
\chapter[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L1 |
| 241 |
\chapter*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L1 |
| 242 |
\chapter[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L1 |
| 243 |
\chapter*[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L1 |
| 244 |
\section{⟨titre⟩%title}#L2 |
| 245 |
\section*{⟨titre⟩%title}#L2 |
| 246 |
\section[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L2 |
| 247 |
\section*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L2 |
| 248 |
\section[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L2 |
| 249 |
\section*[⟨titre alt. pour TdM⟩%short title][⟨titre alt. pour entête⟩%short title]{⟨titre⟩%title}#L2 |
| 250 |
\subsection{⟨titre⟩%title}#L3 |
| 251 |
\subsection*{⟨titre⟩%title}#L3 |
| 252 |
\subsection[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L3 |
| 253 |
\subsection*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L3 |
| 254 |
\subsubsection{⟨titre⟩%title}#L4 |
| 255 |
\subsubsection*{⟨titre⟩%title}#L4 |
| 256 |
\subsubsection[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L4 |
| 257 |
\subsubsection*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L4 |
| 258 |
\paragraph{⟨titre⟩%title}#L5 |
| 259 |
\paragraph*{⟨titre⟩%title}#L5 |
| 260 |
\paragraph[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L5 |
| 261 |
\paragraph*[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L5 |
| 262 |
\subparagraph{⟨titre⟩%title}#L6 |
| 263 |
\subparagraph[⟨titre alt. pour TdM et entête⟩%short title]{⟨titre⟩%title}#L6 |
| 264 |
# |
| 265 |
# Appendix part |
| 266 |
# |
| 267 |
# Back matter part |
| 268 |
# |
| 269 |
\makebackcover |
| 270 |
# |
| 271 |
# All parts |
| 272 |
# |
| 273 |
\startlocaltocs |
| 274 |
\stoplocaltocs |
| 275 |
\nextwithlocaltoc |
| 276 |
\nextwithoutlocaltoc |
| 277 |
\leadchapter{⟨texte⟩%text} |
| 278 |
\printsymbols[⟨options⟩%keyvals] |
| 279 |
# |
| 280 |
#keyvals:\printsymbols |
| 281 |
style=#yadsymbolstyle,⟨autre⟩ |
| 282 |
#endkeyvals |
| 283 |
# |
| 284 |
# Customization |
| 285 |
# |
| 286 |
\expression{⟨label⟩%labeldef}{⟨valeur en français⟩%text}{⟨valeur en anglais⟩%text}#n* |