-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAjouter-titre-du-mémoire-thèse.tex
375 lines (324 loc) · 10.8 KB
/
Ajouter-titre-du-mémoire-thèse.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
\PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
%
\documentclass[
12pt,
letterpaper,
]{report}
\usepackage{amsmath,amssymb}
\usepackage{setspace}
\usepackage{iftex}
\ifPDFTeX
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
\usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
\usepackage{lmodern}
\ifPDFTeX\else
% xetex/luatex font selection
\setmainfont[]{Times New Roman}
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\IfFileExists{microtype.sty}{% use microtype if available
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\usepackage{xcolor}
\usepackage[margin=2.5cm,headsep=22pt,headheight=11pt,footskip=33pt,ignorehead,ignorefoot,heightrounded]{geometry}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\setcounter{secnumdepth}{5}
% Make \paragraph and \subparagraph free-standing
\makeatletter
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}{
\@ifstar
\xxxParagraphStar
\xxxParagraphNoStar
}
\newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}}
\newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}{
\@ifstar
\xxxSubParagraphStar
\xxxSubParagraphNoStar
}
\newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}}
\newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
\makeatother
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}\usepackage{longtable,booktabs,array}
\usepackage{calc} % for calculating minipage widths
% Correct order of tables after \paragraph or \subparagraph
\usepackage{etoolbox}
\makeatletter
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
\makeatother
% Allow footnotes in longtable head/foot
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
\makesavenoteenv{longtable}
\usepackage{graphicx}
\makeatletter
\newsavebox\pandoc@box
\newcommand*\pandocbounded[1]{% scales image to fit in text height/width
\sbox\pandoc@box{#1}%
\Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%
\Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}%
\ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both
\ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}%
\else\usebox{\pandoc@box}%
\fi%
}
% Set default figure placement to htbp
\def\fps@figure{htbp}
\makeatother
% definitions for citeproc citations
\NewDocumentCommand\citeproctext{}{}
\NewDocumentCommand\citeproc{mm}{%
\begingroup\def\citeproctext{#2}\cite{#1}\endgroup}
\makeatletter
% allow citations to break across lines
\let\@cite@ofmt\@firstofone
% avoid brackets around text for \cite:
\def\@biblabel#1{}
\def\@cite#1#2{{#1\if@tempswa , #2\fi}}
\makeatother
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
\newlength{\csllabelwidth}
\setlength{\csllabelwidth}{3em}
\newenvironment{CSLReferences}[2] % #1 hanging-indent, #2 entry-spacing
{\begin{list}{}{%
\setlength{\itemindent}{0pt}
\setlength{\leftmargin}{0pt}
\setlength{\parsep}{0pt}
% turn on hanging indent if param 1 is 1
\ifodd #1
\setlength{\leftmargin}{\cslhangindent}
\setlength{\itemindent}{-1\cslhangindent}
\fi
% set entry spacing
\setlength{\itemsep}{#2\baselineskip}}}
{\end{list}}
\usepackage{calc}
\newcommand{\CSLBlock}[1]{\hfill\break\parbox[t]{\linewidth}{\strut\ignorespaces#1\strut}}
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{\strut#1\strut}}
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{\strut#1\strut}}
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
\usepackage{titlesec}
\usepackage{setspace}
\usepackage{sectsty}
\titleformat{\chapter}[hang]
{\centering\bfseries\LARGE} % Formatting for the title
{Chapitre \thechapter \ -- } % Prefix for the chapter title
{0cm} % Space between the prefix and the title
{} % Additional formatting for the chapter title itself
\titleformat{\section}[hang]
{\bfseries\bfseries} % Formatting for the title
{\thesection \ } % Prefix for the chapter title
{0cm} % Space between the prefix and the title
{} % Additional formatting for the chapter title itself
\titleformat{\subsection}[hang]
{\bfseries} % Formatting for the title
{\thesubsection \ } % Prefix for the chapter title
{0cm} % Space between the prefix and the title
{}
\titleformat{\subsubsection}[hang]
{} % Formatting for the title
{\thesubsubsection \ } % Prefix for the chapter title
{0cm} % Space between the prefix and the title
{}
\titlespacing*{\chapter}{0pt}{-1cm}{12pt}
\titlespacing*{\section}{0pt}{0pt}{0pt}
\titlespacing*{\subsection}{1.25cm}{0pt}{0pt}
% \chapterfont{\fontsize{18}{0}\selectfont}
\sectionfont{\fontsize{16}{0}\selectfont} % Change section font size
\subsectionfont{\fontsize{14}{0}\selectfont} % Change subsection font size
\subsubsectionfont{\fontsize{12}{0}\selectfont} % Change subsubsection font size
\usepackage{pdflscape}
\usepackage{csquotes}
\usepackage{mathtools}
\usepackage{amsmath} % For advanced math symbols
\usepackage{amssymb} % For additional symbols
\usepackage{tikz}
\usetikzlibrary{mindmap}
\usepackage{xeCJK}
\makeatletter
\@ifpackageloaded{bookmark}{}{\usepackage{bookmark}}
\makeatother
\makeatletter
\@ifpackageloaded{caption}{}{\usepackage{caption}}
\AtBeginDocument{%
\ifdefined\contentsname
\renewcommand*\contentsname{Table des matières}
\else
\newcommand\contentsname{Table des matières}
\fi
\ifdefined\listfigurename
\renewcommand*\listfigurename{Liste des Figures}
\else
\newcommand\listfigurename{Liste des Figures}
\fi
\ifdefined\listtablename
\renewcommand*\listtablename{Liste des Tables}
\else
\newcommand\listtablename{Liste des Tables}
\fi
\ifdefined\figurename
\renewcommand*\figurename{Figure}
\else
\newcommand\figurename{Figure}
\fi
\ifdefined\tablename
\renewcommand*\tablename{Tableau}
\else
\newcommand\tablename{Tableau}
\fi
}
\@ifpackageloaded{float}{}{\usepackage{float}}
\floatstyle{ruled}
\@ifundefined{c@chapter}{\newfloat{codelisting}{h}{lop}}{\newfloat{codelisting}{h}{lop}[chapter]}
\floatname{codelisting}{Listing}
\newcommand*\listoflistings{\listof{codelisting}{Liste des Listings}}
\makeatother
\makeatletter
\makeatother
\makeatletter
\@ifpackageloaded{caption}{}{\usepackage{caption}}
\@ifpackageloaded{subcaption}{}{\usepackage{subcaption}}
\makeatother
\ifLuaTeX
\usepackage[bidi=basic]{babel}
\else
\usepackage[bidi=default]{babel}
\fi
\babelprovide[main,import]{french}
\ifPDFTeX
\else
\babelfont{rm}[]{Times New Roman}
\fi
% get rid of language-specific shorthands (see #6817):
\let\LanguageShortHands\languageshorthands
\def\languageshorthands#1{}
\usepackage{bookmark}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\urlstyle{same} % disable monospaced font for URLs
\hypersetup{
pdftitle={Ajouter titre du mémoire/thèse},
pdfauthor={Nom de l'auteur.trice},
pdflang={fr},
colorlinks=true,
linkcolor={black},
filecolor={Maroon},
citecolor={black},
urlcolor={black},
pdfcreator={LaTeX via pandoc}}
\title{Ajouter titre du mémoire/thèse}
\author{Nom de l'auteur.trice}
\date{2025-03-01}
\begin{document}
\cleardoublepage
\thispagestyle{empty}
{\centering
Université de Montréal \\[2.5cm]
{\itshape Ajouter titre du mémoire/thèse \par}
\vspace{2.5cm}
{Par \\ Nom de l'auteur.trice \par} %%%% AJOUTER SON PRÉNOM ET SON NOM DE FAMILLE
\vspace{2.5cm}
{Département de science politique, Université de Montréal \\
Faculté des arts et des sciences \par}
\vspace{2.5cm}
{Mémoire présenté en vue de l'obtention \\
du grade de Maîtrise ès sciences (M. Sc.) en science politique \par}
\vspace{2.5cm}
{ \par} %%%%% AJOUTER LA DATE
\vspace{2.5cm}
{\textcopyright{} } %%%%% AJOUTER LES INFORMATIONS POUR LE COPYRIGHT
\clearpage
}
{\centering
Université de Montréal \\
Faculté des Arts et des Sciences, Département de Science Politique \\
\hrulefill \\[2.5cm]
{\itshape Ce mémoire intitulé \\
\textbf{ TITRE } \par} %%%%%% AJOUTER LE TITRE
\vspace{2.5cm}
Présenté par \\
{\textbf{NOM DE L'AUTEUR.TRICE} \par} %%%%%%% AJOUTER VOTRE NOM ET VOTRE PRÉNOM
\vspace{2.5cm}
{\itshape A été évalué par un jury composé des personnes suivantes :} \\[1cm]
{\textbf{ }} \\ Président-rapporteur \\[1cm] %%%%%% AJOUTER LE NOM DU PRÉSIDENT RAPPORTEUR
{\textbf{ }} \\ Directeur de recherche \\[1cm] %%%%% AJOUTER LE NOM DU DIRECTEUR DE RECHERCHE
{\textbf{ }} \\ Co-directeur de recherche \\[1cm] %%%%%% AJOUTER LE NOM DU CO-DIRECTEUR SI BESOIN
{\textbf{ }} \\ Membre du jury \\ %%%%% AJOUTER LE NOM DU MEMBRE DU JURY
}
\cleardoublepage
\thispagestyle{plain}
\section*{\centering{Résumé}}
\begin{spacing}{1}
Ajouter résumé français
\end{spacing}
\vspace{1cm}
\noindent \textbf{Mots-clés :} Ajouter les mots-clés \clearpage
\section*{\centering{Abstract}}
\begin{spacing}{1}
Ajouter résumé en anglais
\end{spacing}
\vspace{1cm}
\noindent \textbf{Keywords :} Ajouter mots-clés en anglais \clearpage
\renewcommand*\contentsname{Table des matières}
{
\hypersetup{linkcolor=}
\setcounter{tocdepth}{3}
\tableofcontents
}
\listoffigures
\listoftables
\setstretch{1.5}
\bookmarksetup{startatroot}
\chapter*{Remerciements}\label{remerciements}
\addcontentsline{toc}{chapter}{Remerciements}
\markboth{Remerciements}{Remerciements}
\bookmarksetup{startatroot}
\chapter{Introduction}\label{introduction}
Ajout d'une référence afin d'illustrer le format complet du livre
(\citeproc{ref-arel-bundock2021}{Arel-Bundock 2021}).
\bookmarksetup{startatroot}
\chapter{Revue de littérature et
théorie}\label{revue-de-littuxe9rature-et-thuxe9orie}
\bookmarksetup{startatroot}
\chapter{Méthodologie}\label{muxe9thodologie}
\bookmarksetup{startatroot}
\chapter{Analyses}\label{analyses}
\bookmarksetup{startatroot}
\chapter{Discussion}\label{discussion}
\bookmarksetup{startatroot}
\chapter{Conclusion}\label{conclusion}
\bookmarksetup{startatroot}
\chapter*{Bibliographie}\label{bibliographie}
\addcontentsline{toc}{chapter}{Bibliographie}
\markboth{Bibliographie}{Bibliographie}
\phantomsection\label{refs}
\begin{CSLReferences}{1}{0}
\bibitem[\citeproctext]{ref-arel-bundock2021}
Arel-Bundock, Vincent. 2021. \emph{Analyse Causale et M{é}thodes
Quantitatives}. Montr{é}al~: Les Presses de l'Universit{é} de
Montr{é}al.
\end{CSLReferences}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{part}{Annexes}
\appendix
\chapter{\texorpdfstring{{Annexes}}{Annexes}}\label{annexes-1}
\end{document}