-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstructure.tex
90 lines (66 loc) · 2.62 KB
/
structure.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
% Fichier qui contiendra tout la structure du mémoire
% Use french everywhere
\selectlanguage{french}
% Pour include d'autres fichiers
% ./ si folder courant
%\import{folder}{fichier.tex}
% Numérotation en chiffres romains ( I , II )
\frontmatter
% Table des matières
\beautifultableofcontents
% Le Préambule
\import{sections/}{preambule}
% Remerciements ( Un classique )
\import{sections/}{remerciements}
% Start partial lists
\startlist[main]{lof}% starts main list of figures
\startlist[main]{lot}% starts main list of tables
% Le glossaire
% Pour forcer l'affichage de tout ( mais pas idéal car cela n'affiche pas les bonnes pages pour les termes ): https://tex.stackexchange.com/a/492011/129702
%\glsaddall
\printglossary
% Numérotation en chiffres arabes ( 1, 2 , )
\mainmatter
% Petite précision : si \import est hs dans ta structure nested, essaye un \include ( mieux qu'un \input qui peut casser les pieds dans certains cas )
% https://tex.stackexchange.com/a/32058/129702
\import{sections/chapters/introduction/}{index}
\import{sections/chapters/problematique/}{index}
\import{sections/chapters/approche/}{index}
\import{sections/chapters/cahierDesCharges/}{index}
% On limite ici la toc aux sections
\setcustomtocdepth{1}
\import{sections/chapters/solution/}{index}
\import{sections/chapters/analyseCritique/}{index}
% On limite ici la toc aux chapitres
\setcustomtocdepth{0}
\import{sections/chapters/pourAllerPlusLoin/}{index}
\import{sections/chapters/conclusion/}{index}
% Stop partial lists
\stoplist[main]{lof}% stops main list of figures
\stoplist[main]{lot}% stops main list of tables
% juste avant la bibliographie et les annexes
\backmatter
% Bibliographie
\import{sections/}{bibliographie}
% Start partial lists
\startlist[appendices]{lof}% starts appendices list of figures
\startlist[appendices]{lot}% starts appendices list of tables
% Pour modifier plus facilement le nom - Ici, je recycles ceux de base
\newcommand\listfigurenameappendixes{\listfigurename}
\newcommand\listtablenameappendixes{\listtablename}
% Pour marquer la séparation avec les extraits de code des annexes
\appendixFix
% Ici on va limiter les annexes au niveau 1 (cad les sections)
\setcustomtocdepth{1}
% Annexes
% Explications : https://texfaq.org/FAQ-appendix
\begin{appendices}
\input{sections/annexes/index}
\end{appendices}
% Stop partial lists
\stoplist[appendices]{lof}% stops main list of figures
\stoplist[appendices]{lot}% stops main list of tables
% Tables des figures / tables / extraits de code [PRINCIPALE]
\import{sections/}{tablesMain}
% Tables des figures / tables / extraits de code [ANNEXES]
\import{sections/}{tablesAnnexes}