-
Notifications
You must be signed in to change notification settings - Fork 10
/
Preambule.tex
147 lines (124 loc) · 5.09 KB
/
Preambule.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
%% Copyright (C) 2014 Dorian Depriester
%% http://blog.dorian-depriester.fr
%%
%% This file may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3c of this
%% license or (at your option) any later version. The latest version
%% of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2006/05/20 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Dorian Depriester
%% <contact [at] dorian [-] depriester [dot] fr>.
%%
%% This is Preambule.tex for French PhD Thesis.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Liste des packages %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Faux texte, juste pour la démo
\usepackage{blindtext}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Réglage des fontes et typo
\usepackage[utf8]{inputenc} % LaTeX, comprend les accents !
\usepackage[T1]{fontenc}
\usepackage[square,sort&compress,sectionbib]{natbib} % Doit être chargé avant babel
\usepackage{chapterbib}
\renewcommand{\bibsection}{\section{Références}} % Met les références biblio dans un \section (au lieu de \section*)
\usepackage[frenchb]{babel}
\usepackage{lmodern}
\usepackage{ae,aecompl} % Utilisation des fontes vectorielles modernes
\usepackage[upright]{fourier}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Allure générale du document
\usepackage{enumerate}
\usepackage{enumitem}
\usepackage[section]{placeins} % Place un FloatBarrier à chaque nouvelle section
\usepackage{epigraph}
\usepackage[font={small}]{caption}
\usepackage[francais,nohints]{minitoc} % Mini table des matières, en français
\setcounter{minitocdepth}{2} % Mini-toc détaillées (sections/sous-sections)
\usepackage[notbib]{tocbibind} % Ajoute les Tables des Matières/Figures/Tableaux à la table des matières
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Maths
\usepackage{amsmath} % Permet de taper des formules mathématiques
\usepackage{amssymb} % Permet d'utiliser des symboles mathématiques
\usepackage{amsfonts} % Permet d'utiliser des polices mathématiques
\usepackage{nicefrac} % Fractions 'inline'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Tableaux
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{colortbl}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{threeparttable}
\usepackage{etoolbox}
\appto\TPTnoteSettings{\footnotesize}
\addto\captionsfrench{\def\tablename{{\textsc{Tableau}}}} % Renome 'table' en 'tableau'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Eléments graphiques
\usepackage{graphicx} % Permet l'inclusion d'images
\usepackage{subcaption}
\usepackage{pdfpages}
\usepackage{rotating}
\usepackage{pgfplots}
\usepgfplotslibrary{groupplots}
\usepackage{tikz}
\usetikzlibrary{backgrounds,automata}
\pgfplotsset{width=7cm,compat=1.3}
\tikzset{every picture/.style={execute at begin picture={
\shorthandoff{:;!?};}
}}
\pgfplotsset{every linear axis/.append style={
/pgf/number format/.cd,
use comma,
1000 sep={\,},
}}
\usepackage{eso-pic}
\usepackage{import}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Mise en forme du texte
\usepackage{xspace}
\usepackage[load-configurations = abbreviations]{siunitx}
\DeclareSIUnit{\MPa}{\mega\pascal}
\DeclareSIUnit{\micron}{\micro\meter}
\DeclareSIUnit{\tr}{tr}
\DeclareSIPostPower\totheM{m}
\sisetup{
locale = FR,
inter-unit-separator=$\cdot$,
range-phrase=~\`{a}~, % Utilise le tiret court pour dire "de... à"
range-units=single, % Cache l'unité sur la première borne
}
\usepackage[version=3]{mhchem} % Equations chimiques
\usepackage{textcomp}
\usepackage{array}
\usepackage{hyphenat}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Navigation dans le document
\usepackage[pdftex,pdfborder={0 0 0},
colorlinks=true,
linkcolor=blue,
citecolor=red,
pagebackref=true,
]{hyperref} % Créera automatiquement les liens internes au PDF
% Doit être chargé en dernier (Sauf exceptions ci-dessous)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Packages qui doivent être chargés APRES hyperref
\usepackage[top=2.5cm, bottom=2cm, left=3cm, right=2.5cm,
headheight=15pt]{geometry}
\usepackage{fancyhdr} % Entête et pieds de page. Doit être placé APRES geometry
\pagestyle{fancy} % Indique que le style de la page sera justement fancy
\lfoot[\thepage]{} % gauche du pied de page
\cfoot{} % milieu du pied de page
\rfoot[]{\thepage} % droite du pied de page
\fancyhead[RO, LE] {}
\usepackage[acronym,xindy,toc,numberedsection,ucmark]{glossaries}
\newglossary[nlg]{notation}{not}{ntn}{Notation} % Création d'un type de glossaire 'notation'
\makeglossaries
\loadglsentries{Glossaire} % Utilisation d'un fichier externe pour la définition des entrées (Glossaire.tex)