Format template
This commit is contained in:
472
thesis.cls
472
thesis.cls
@@ -34,22 +34,22 @@
|
||||
\RequirePackage{titlesec}
|
||||
\RequirePackage{parcolumns}
|
||||
\RequirePackage{multicol}
|
||||
\RequirePackage[T1]{fontenc} % permet de sp\'{e}cifier \`{a} LaTeX l'utilisation du codage de caract\`{e}res T1, nouvelle norme LaTeX non utilis\'{e}e par d\'{e}faut pour des raisons de compatibilit\'{e} avec les anciens documents LaTeX.
|
||||
\RequirePackage[T1]{fontenc} % permet de spécifier à LaTeX l'utilisation du codage de caractères T1, nouvelle norme LaTeX non utilisée par défaut pour des raisons de compatibilité avec les anciens documents LaTeX.
|
||||
\RequirePackage{lmodern} % Assurer une bonne impression!
|
||||
\RequirePackage{tikz} % tikz est utilise pour tracer des boites, par exemple
|
||||
\usetikzlibrary{fadings,babel}
|
||||
\RequirePackage{fix-cm}
|
||||
\RequirePackage{abstract}
|
||||
\RequirePackage{graphicx} % Pour ins\'{e}rer des images. Utiliser le format jpg pour plus de simplicit\'{e}.
|
||||
\RequirePackage{graphicx} % Pour insérer des images. Utiliser le format jpg pour plus de simplicité.
|
||||
\RequirePackage{sectsty} % obligatoire, pour jouer avec l'apparence des titres
|
||||
\RequirePackage{shorttoc} % pour le sommaire, au debut.
|
||||
\RequirePackage{fancyhdr} % Afin de r\'{e}aliser soi-même les en-têtes et pieds de page, voir chaque d\'{e}but de chapitre.
|
||||
\RequirePackage{fancyhdr} % Afin de réaliser soi-même les en-têtes et pieds de page, voir chaque début de chapitre.
|
||||
\RequirePackage{pifont} % Pour utiliser des symboles divers.
|
||||
\RequirePackage{color}
|
||||
\RequirePackage{comment}
|
||||
\RequirePackage{wallpaper}
|
||||
\RequirePackage[inner=30mm,outer=20mm,top=30mm,bottom=20mm]{geometry}
|
||||
%Ou bien : \RequirePackage[top=4 cm, bottom=4 cm, left=3 cm, right=3 cm]{geometry} % On peut modifier ces valeurs pour augmenter ou r\'{e}duire les marges. Attention aux en-têtes de chapitres.
|
||||
%Ou bien : \RequirePackage[top=4 cm, bottom=4 cm, left=3 cm, right=3 cm]{geometry} % On peut modifier ces valeurs pour augmenter ou réduire les marges. Attention aux en-têtes de chapitres.
|
||||
\RequirePackage{epigraph} % \cleartoevenpage
|
||||
|
||||
\RequirePackage{setspace} % permet d'utiliser les commandes \spacing, doublespace (double interligne), singlespace (simple interligne) et onehalfspace (un interligne et demi)
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
\onehalfspacing %Interligne 1,5
|
||||
|
||||
\RequirePackage{ifthen} % Entrer valeurs bool\'{e}ennes et autres options
|
||||
\RequirePackage{ifthen} % Entrer valeurs booléennes et autres options
|
||||
\RequirePackage{csquotes} % Assurer les guillemets français
|
||||
\frenchspacing
|
||||
\FrenchFootnotes
|
||||
@@ -85,8 +85,8 @@
|
||||
\tl_const:Nn \c_getenv_par_tl { \par }
|
||||
\NewDocumentCommand{\ifenvsetTF}{mmm}
|
||||
{
|
||||
\sys_get_shell:nnN { kpsewhich ~ --var-value ~ #1 } { } \l_tmpa_tl
|
||||
\tl_if_eq:NNTF \l_tmpa_tl \c_getenv_par_tl { #3 } { #2 }
|
||||
\sys_get_shell:nnN { kpsewhich ~ --var-value ~ #1 } { } \l_tmpa_tl
|
||||
\tl_if_eq:NNTF \l_tmpa_tl \c_getenv_par_tl { #3 } { #2 }
|
||||
}
|
||||
\ExplSyntaxOff
|
||||
|
||||
@@ -97,29 +97,29 @@
|
||||
\makeatletter
|
||||
\def\thickhrulefill{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}
|
||||
\def\@makechapterhead#1{%
|
||||
\vspace*{-30\p@}%
|
||||
{\parindent \z@ \raggedleft \reset@font
|
||||
\scshape \@chapapp{} \thechapter
|
||||
\par\nobreak
|
||||
\interlinepenalty\@M
|
||||
\selectfontchapheads \Huge \bfseries #1\par\nobreak
|
||||
%\vspace*{1\p@}%
|
||||
\hrulefill
|
||||
\par\nobreak
|
||||
\vskip 50\p@
|
||||
}}
|
||||
\vspace*{-30\p@}%
|
||||
{\parindent \z@ \raggedleft \reset@font
|
||||
\scshape \@chapapp{} \thechapter
|
||||
\par\nobreak
|
||||
\interlinepenalty\@M
|
||||
\selectfontchapheads \Huge \bfseries #1\par\nobreak
|
||||
%\vspace*{1\p@}%
|
||||
\hrulefill
|
||||
\par\nobreak
|
||||
\vskip 50\p@
|
||||
}}
|
||||
\def\@makeschapterhead#1{%
|
||||
\vspace*{-50\p@}%
|
||||
{\parindent \z@ \raggedleft \reset@font
|
||||
\scshape \vphantom{\@chapapp{} \thechapter}
|
||||
\par\nobreak
|
||||
\interlinepenalty\@M
|
||||
\selectfontchapheads \Huge \bfseries #1 \par\nobreak
|
||||
%\vspace*{1\p@}%
|
||||
\hrulefill
|
||||
\par\nobreak
|
||||
\vskip 30\p@
|
||||
}}
|
||||
\vspace*{-50\p@}%
|
||||
{\parindent \z@ \raggedleft \reset@font
|
||||
\scshape \vphantom{\@chapapp{} \thechapter}
|
||||
\par\nobreak
|
||||
\interlinepenalty\@M
|
||||
\selectfontchapheads \Huge \bfseries #1 \par\nobreak
|
||||
%\vspace*{1\p@}%
|
||||
\hrulefill
|
||||
\par\nobreak
|
||||
\vskip 30\p@
|
||||
}}
|
||||
|
||||
|
||||
|
||||
@@ -128,18 +128,18 @@
|
||||
|
||||
\makeatletter
|
||||
\newcommand*{\jolipart}[1]{%
|
||||
\begin{center}
|
||||
\begin{Huge}\color{black}
|
||||
#1
|
||||
\end{Huge}
|
||||
\end{center}
|
||||
\vspace{1cm}
|
||||
\begin{center}
|
||||
%\begin{Huge}
|
||||
%\ding{167}
|
||||
%\end{Huge}
|
||||
\hrulefill
|
||||
\end{center}
|
||||
\begin{center}
|
||||
\begin{Huge}\color{black}
|
||||
#1
|
||||
\end{Huge}
|
||||
\end{center}
|
||||
\vspace{1cm}
|
||||
\begin{center}
|
||||
%\begin{Huge}
|
||||
%\ding{167}
|
||||
%\end{Huge}
|
||||
\hrulefill
|
||||
\end{center}
|
||||
}
|
||||
|
||||
\parttitlefont{\jolipart}
|
||||
@@ -152,19 +152,19 @@
|
||||
%%%%%%%%%%%%%%%% REGLAGE DE LA BIBLIOGRAPHIE %%%%%%%%%%%%%%%%
|
||||
%%%%%%%%%%%%%%%% ATTENTION, on utilise Biblatex %%%%%%%%%%%%%
|
||||
|
||||
% Les dernieres versions de biblatex pr\'{e}conisent l'option backend=biber
|
||||
% pour profiter des derni\`{e}res nouveaut\'{e}s. Si vous choisissez cette
|
||||
% Les dernieres versions de biblatex préconisent l'option backend=biber
|
||||
% pour profiter des dernières nouveautés. Si vous choisissez cette
|
||||
% option, il vous faut simplement compiler avec $biber nomdufichier (sans le
|
||||
% .tex). Pour utiliser bibtex, remplacer par backend=bibtex.
|
||||
\RequirePackage[hyperref,backend=biber,
|
||||
% Exemples de styles: alphabetic, ieee, nature, numeric, verbose-trad1 (en utilisant \footcite{}).
|
||||
% https://www.overleaf.com/learn/latex/Biblatex_bibliography_styles
|
||||
style=verbose-trad1
|
||||
% Exemples de styles: alphabetic, ieee, nature, numeric, verbose-trad1 (en utilisant \footcite{}).
|
||||
% https://www.overleaf.com/learn/latex/Biblatex_bibliography_styles
|
||||
style=verbose-trad1
|
||||
]{biblatex}
|
||||
|
||||
% Style biblatex avec gestion des mots cl\'{e}s des entr\'{e}es bibliographiques
|
||||
% + les abbr\'{e}viations idem, ibidem, op cit. Pr\'{e}voir un fichier bib
|
||||
% contenant ces mots-cl\'{e}s, ici primary et secondary.
|
||||
% Style biblatex avec gestion des mots clés des entrées bibliographiques
|
||||
% + les abbréviations idem, ibidem, op cit. Prévoir un fichier bib
|
||||
% contenant ces mots-clés, ici primary et secondary.
|
||||
\defbibheading{primary}{\section*{Sources primaires}}
|
||||
\defbibheading{secondary}{\section*{Sources secondaires}}
|
||||
|
||||
@@ -177,12 +177,12 @@
|
||||
\DeclareFieldFormat[article]{number}{\textit{#1}} %Le numero dans le volume en italique
|
||||
%\DeclareFieldFormat{pages}{page(s): #1} % page(s) en toutes lettres, si on veut...
|
||||
|
||||
% Locutions latines en italique (comme ibid, loc.cit. , etc.) Merci \`{a} Josquin Debaz
|
||||
% Locutions latines en italique (comme ibid, loc.cit. , etc.) Merci à Josquin Debaz
|
||||
\renewcommand{\mkibid}[1]{\emph{#1}}
|
||||
|
||||
% Et pour mettre le in en italique dans la ref\'{e}rence biblio (merci encore \`{a} Josquin Debaz)
|
||||
% Et pour mettre le in en italique dans la reférence biblio (merci encore à Josquin Debaz)
|
||||
\DefineBibliographyStrings{english}{%
|
||||
in = {\emph{in}}%
|
||||
in = {\emph{in}}%
|
||||
}
|
||||
|
||||
|
||||
@@ -198,19 +198,19 @@
|
||||
\let\endorig@quote\endquote
|
||||
\renewenvironment*{quote}
|
||||
{\begin{orig@quote}\begin{singlespace}}
|
||||
{\end{singlespace}\end{orig@quote}}
|
||||
{\end{singlespace}\end{orig@quote}}
|
||||
|
||||
\let\old@quotation\quotation
|
||||
\let\endold@quotation\endquotation
|
||||
\renewenvironment*{quotation}
|
||||
{\begin{old@quotation}\begin{singlespace}}
|
||||
{\end{singlespace}\end{old@quotation}}
|
||||
{\end{singlespace}\end{old@quotation}}
|
||||
|
||||
\let\old@verse\verse
|
||||
\let\endold@verse\endverse
|
||||
\renewenvironment*{verse}
|
||||
{\begin{old@verse}\begin{singlespace}}
|
||||
{\end{singlespace}\end{old@verse}}
|
||||
{\end{singlespace}\end{old@verse}}
|
||||
|
||||
|
||||
|
||||
@@ -218,7 +218,7 @@
|
||||
%%%%%%%%%%%%%%%% VARIABLES PAGE DE GARDE %%%%%%%%%%%%%%%%
|
||||
|
||||
%%%%% Dossier contenant les info de l'ecole doctorale
|
||||
\newcommand*{\direcole}[1]{\gdef\vdirecole{./Couverture-these/ecoles-doctorales/#1}}
|
||||
\newcommand*{\direcole}[1]{\gdef\vdirecole{./00-couverture/ecoles-doctorales/#1}}
|
||||
\direcole{}
|
||||
|
||||
%%%%% Nom ecole, une variable par ligne
|
||||
@@ -269,7 +269,7 @@
|
||||
\newcommand{\jury}[1]{\gdef\@jury{#1}}
|
||||
\jury{}
|
||||
|
||||
%%%%% Sp\'{e}cialit\'{e}
|
||||
%%%%% Spécialité
|
||||
\newcommand{\spec}[1]{\gdef\@spec{#1}}
|
||||
\spec{}
|
||||
|
||||
@@ -277,11 +277,11 @@
|
||||
\newcommand{\lieu}[1]{\gdef\@lieu{#1}}
|
||||
\lieu{}
|
||||
|
||||
%%% Unite de recherche: laboratoire / department / unit\'{e}
|
||||
%%% Unite de recherche: laboratoire / department / unité
|
||||
\newcommand{\uniterecherche}[1]{\gdef\@uniterecherche{#1}}
|
||||
\uniterecherche{}
|
||||
|
||||
%%% Num\'{e}ro de la th\`{e}se
|
||||
%%% Numéro de la thèse
|
||||
\newcommand{\numthese}[1]{\gdef\@numthese{#1}}
|
||||
\numthese{}
|
||||
|
||||
@@ -304,111 +304,111 @@
|
||||
|
||||
% Affiche les logos sur les pages de couverture
|
||||
\newcommand{\displayLogos}{%
|
||||
\thispagestyle{empty}
|
||||
\begin{tikzpicture}[remember picture,overlay,line width=0mm]
|
||||
\node[xshift=6.2cm,yshift=2cm] {%
|
||||
\parbox{\textwidth}{%
|
||||
% Quand UR1 est l'unique etablissement, il ne faut afficher que son logo
|
||||
{\ifthenelse{\equal{\vlogoetablissementA}{}\and\equal{\vlogoetablissementB}{UR1-noir}}{
|
||||
$\vcenter{\hbox{%
|
||||
\includegraphics[keepaspectratio,height=\vhauteurlogoetablissementB,width=7cm
|
||||
]{./Couverture-these/logos-etablissements/\vlogoetablissementB}%
|
||||
}}$
|
||||
}{%
|
||||
$\vcenter{\hbox{%
|
||||
\includegraphics[keepaspectratio,height=\vhauteurlogoecole,%width=7cm
|
||||
]{\vdirecole/logo}%
|
||||
}}$
|
||||
\hfill
|
||||
{\if\vlogoetablissementA\empty \else
|
||||
$\vcenter{\hbox{%
|
||||
\includegraphics[keepaspectratio,height=\vhauteurlogoetablissementA,width=7cm
|
||||
]{./Couverture-these/logos-etablissements/\vlogoetablissementA}%
|
||||
}}$
|
||||
\fi}%
|
||||
\hspace{3mm}
|
||||
$\vcenter{\hbox{%
|
||||
\includegraphics[keepaspectratio,height=\vhauteurlogoetablissementB,width=7cm
|
||||
]{./Couverture-these/logos-etablissements/\vlogoetablissementB}%
|
||||
}}$
|
||||
}}%
|
||||
}%
|
||||
};
|
||||
\end{tikzpicture}
|
||||
\par\nobreak
|
||||
\thispagestyle{empty}
|
||||
\begin{tikzpicture}[remember picture,overlay,line width=0mm]
|
||||
\node[xshift=6.2cm,yshift=2cm] {%
|
||||
\parbox{\textwidth}{%
|
||||
% Quand UR1 est l'unique etablissement, il ne faut afficher que son logo
|
||||
{\ifthenelse{\equal{\vlogoetablissementA}{}\and\equal{\vlogoetablissementB}{UR1-noir}}{
|
||||
$\vcenter{\hbox{%
|
||||
\includegraphics[keepaspectratio,height=\vhauteurlogoetablissementB,width=7cm
|
||||
]{./00-couverture/logos-etablissements/\vlogoetablissementB}%
|
||||
}}$
|
||||
}{%
|
||||
$\vcenter{\hbox{%
|
||||
\includegraphics[keepaspectratio,height=\vhauteurlogoecole,%width=7cm
|
||||
]{\vdirecole/logo}%
|
||||
}}$
|
||||
\hfill
|
||||
{\if\vlogoetablissementA\empty \else
|
||||
$\vcenter{\hbox{%
|
||||
\includegraphics[keepaspectratio,height=\vhauteurlogoetablissementA,width=7cm
|
||||
]{./00-couverture/logos-etablissements/\vlogoetablissementA}%
|
||||
}}$
|
||||
\fi}%
|
||||
\hspace{3mm}
|
||||
$\vcenter{\hbox{%
|
||||
\includegraphics[keepaspectratio,height=\vhauteurlogoetablissementB,width=7cm
|
||||
]{./00-couverture/logos-etablissements/\vlogoetablissementB}%
|
||||
}}$
|
||||
}}%
|
||||
}%
|
||||
};
|
||||
\end{tikzpicture}
|
||||
\par\nobreak
|
||||
}
|
||||
|
||||
%mise en page de la page de garde
|
||||
\makeatletter
|
||||
\def\maketitle{%
|
||||
\thispagestyle{empty}
|
||||
\clearpage
|
||||
% Background image of the front cover
|
||||
\AddToShipoutPicture*{%
|
||||
\put(0,0){%
|
||||
\parbox[b][42.6cm]{\paperwidth}{%
|
||||
\thispagestyle{empty}
|
||||
\clearpage
|
||||
% Background image of the front cover
|
||||
\AddToShipoutPicture*{%
|
||||
\put(0,0){%
|
||||
\parbox[b][42.6cm]{\paperwidth}{%
|
||||
|
||||
% \includegraphics[width=\paperwidth,keepaspectratio,trim={0 5pt 0 0}]{\vdirecole/image-fond-garde.png} % Must trim white border off of bottom
|
||||
% \begin{tikzpicture}
|
||||
% \fill[couleur-ecole-recto] (0,0) rectangle (\paperwidth,4.4);
|
||||
% \end{tikzpicture}
|
||||
\input{./Couverture-these/cover_tikz}
|
||||
\vspace{10cm}
|
||||
}}}
|
||||
\displayLogos
|
||||
%
|
||||
\begin{tikzpicture}[remember picture,overlay,line width=0mm]
|
||||
\node at (current page.center)
|
||||
{\parbox{17.6cm}{
|
||||
\vspace{3.6cm}
|
||||
% \includegraphics[width=\paperwidth,keepaspectratio,trim={0 5pt 0 0}]{\vdirecole/image-fond-garde.png} % Must trim white border off of bottom
|
||||
% \begin{tikzpicture}
|
||||
% \fill[couleur-ecole-recto] (0,0) rectangle (\paperwidth,4.4);
|
||||
% \end{tikzpicture}
|
||||
\input{./00-couverture/cover_tikz}
|
||||
\vspace{10cm}
|
||||
}}}
|
||||
\displayLogos
|
||||
%
|
||||
\begin{tikzpicture}[remember picture,overlay,line width=0mm]
|
||||
\node at (current page.center)
|
||||
{\parbox{17.6cm}{
|
||||
\vspace{3.6cm}
|
||||
|
||||
\selectfontfrontcover % Set font style for front cover page
|
||||
\selectfontfrontcover % Set font style for front cover page
|
||||
|
||||
{\HugeTwelve \textsc{Th\`{e}se de doctorat de} \\}
|
||||
{\HugeTwelve \textsc{Thèse de doctorat de} \\}
|
||||
|
||||
\color{\@couleurpolice} % Some schools use white font
|
||||
\color{\@couleurpolice} % Some schools use white font
|
||||
|
||||
% \vspace{5mm}
|
||||
{\normalTwelve \if\@nomecoleB\empty ~\\ \else \fi} % To compensate the 2 lines of MathSTIC
|
||||
{\setlength{\baselineskip}{0.9\baselineskip}
|
||||
{\largeTwelve \if\vnometablissementA\empty ~ \else \textsc{\vnometablissementA} \fi} \\
|
||||
{\largeTwelve \if\vnometablissementB\empty ~ \else \textsc{\vnometablissementB} \fi} \\
|
||||
{\largeTwelve \if\vnometablissementC\empty ~ \else \textsc{\vnometablissementC} \fi} \\
|
||||
{\largeTwelve \if\vnometablissementD\empty ~ \else \textsc{\vnometablissementD} \fi} \\
|
||||
{\largeTwelve \textsc{\vnometablissementE}} \\
|
||||
\par}
|
||||
\vspace{0.01cm}
|
||||
{\setlength{\baselineskip}{0.7\baselineskip}
|
||||
{\smallTwelve \textsc{\'{E}cole Doctorale \No \@numeroecole}} \\
|
||||
{\normalTwelve \textit{\@nomecoleA}} \\
|
||||
{\normalTwelve \if\@nomecoleB\empty \else \textit{\@nomecoleB} \\ \fi}
|
||||
{\normalTwelve Sp\'{e}cialit\'{e} : \textit{\@spec}}
|
||||
% \vspace{5mm}
|
||||
{\normalTwelve \if\@nomecoleB\empty ~\\ \else \fi} % To compensate the 2 lines of MathSTIC
|
||||
{\setlength{\baselineskip}{0.9\baselineskip}
|
||||
{\largeTwelve \if\vnometablissementA\empty ~ \else \textsc{\vnometablissementA} \fi} \\
|
||||
{\largeTwelve \if\vnometablissementB\empty ~ \else \textsc{\vnometablissementB} \fi} \\
|
||||
{\largeTwelve \if\vnometablissementC\empty ~ \else \textsc{\vnometablissementC} \fi} \\
|
||||
{\largeTwelve \if\vnometablissementD\empty ~ \else \textsc{\vnometablissementD} \fi} \\
|
||||
{\largeTwelve \textsc{\vnometablissementE}} \\
|
||||
\par}
|
||||
\vspace{0.01cm}
|
||||
{\setlength{\baselineskip}{0.7\baselineskip}
|
||||
{\smallTwelve \textsc{école Doctorale \No \@numeroecole}} \\
|
||||
{\normalTwelve \textit{\@nomecoleA}} \\
|
||||
{\normalTwelve \if\@nomecoleB\empty \else \textit{\@nomecoleB} \\ \fi}
|
||||
{\normalTwelve Spécialité : \textit{\@spec}}
|
||||
|
||||
%\fontsize{12}{10}\selectfont
|
||||
\vspace{0.5cm}
|
||||
\hspace{0.6cm}{\normalTwelve Par \vspace{0.15cm}}
|
||||
\par}
|
||||
\hspace{0.6cm}{\LARGETwelve \textbf{\@author}} \vspace{0.5cm}
|
||||
%\fontsize{12}{10}\selectfont
|
||||
\vspace{0.5cm}
|
||||
\hspace{0.6cm}{\normalTwelve Par \vspace{0.15cm}}
|
||||
\par}
|
||||
\hspace{0.6cm}{\LARGETwelve \textbf{\@author}} \vspace{0.5cm}
|
||||
|
||||
{\LargeTwelve \textbf{\@title}} \vspace{0.5cm}
|
||||
{\LargeTwelve \textbf{\@title}} \vspace{0.5cm}
|
||||
|
||||
{\largeTwelve \@lesoustitre} \vspace{0.5cm}
|
||||
\begin{spacing}{1}
|
||||
\smallTwelve
|
||||
\textbf{Th\`{e}se pr\'{e}sent\'{e}e et soutenue \`{a} \@lieu, le \@date} \\
|
||||
\textbf{Unit\'{e} de recherche : \@uniterecherche} \\
|
||||
\textbf{\if\@numthese\empty \else Th\`{e}se \No : \@numthese \fi} % Hide line if no number provided
|
||||
\end{spacing}
|
||||
\color{black}
|
||||
\vspace{1.3cm}
|
||||
\begin{small}
|
||||
\begin{spacing}{1}
|
||||
\@jury
|
||||
\end{spacing}
|
||||
\end{small}
|
||||
}
|
||||
};
|
||||
\end{tikzpicture}
|
||||
{\largeTwelve \@lesoustitre} \vspace{0.5cm}
|
||||
\begin{spacing}{1}
|
||||
\smallTwelve
|
||||
\textbf{Thèse présentée et soutenue à \@lieu, le \@date} \\
|
||||
\textbf{Unité de recherche : \@uniterecherche} \\
|
||||
\textbf{\if\@numthese\empty \else Thèse \No : \@numthese \fi} % Hide line if no number provided
|
||||
\end{spacing}
|
||||
\color{black}
|
||||
\vspace{1.3cm}
|
||||
\begin{small}
|
||||
\begin{spacing}{1}
|
||||
\@jury
|
||||
\end{spacing}
|
||||
\end{small}
|
||||
}
|
||||
};
|
||||
\end{tikzpicture}
|
||||
}
|
||||
|
||||
\makeatother
|
||||
@@ -419,70 +419,70 @@
|
||||
%%%%%%%%%%%%%%%% QUATRIEME DE COUVERTURE %%%%%%%%%%%%%%%%
|
||||
|
||||
\newcommand{\backcoverheader}{%
|
||||
\thispagestyle{empty}
|
||||
\AddToShipoutPicture*{%
|
||||
% \put(0,0){%
|
||||
% \parbox[t][\paperheight]{\paperwidth}{%
|
||||
% \vspace{-29.6cm}
|
||||
% \includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{\vdirecole/image-fond-dos}%
|
||||
% }}
|
||||
% \put(0,0){%
|
||||
% \parbox[t][\paperheight]{\paperwidth}{%
|
||||
% \vspace{-16.55cm}
|
||||
% \includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{\vdirecole/image-fond-dos2}%
|
||||
% }}
|
||||
\put(0,0){%
|
||||
\parbox[t][\paperheight]{\paperwidth}{%
|
||||
\vspace{-33.1cm}
|
||||
\input{./Couverture-these/backcover_tikz}
|
||||
}}
|
||||
}
|
||||
\hspace{9mm}
|
||||
\displayLogos
|
||||
\thispagestyle{empty}
|
||||
\AddToShipoutPicture*{%
|
||||
% \put(0,0){%
|
||||
% \parbox[t][\paperheight]{\paperwidth}{%
|
||||
% \vspace{-29.6cm}
|
||||
% \includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{\vdirecole/image-fond-dos}%
|
||||
% }}
|
||||
% \put(0,0){%
|
||||
% \parbox[t][\paperheight]{\paperwidth}{%
|
||||
% \vspace{-16.55cm}
|
||||
% \includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{\vdirecole/image-fond-dos2}%
|
||||
% }}
|
||||
\put(0,0){%
|
||||
\parbox[t][\paperheight]{\paperwidth}{%
|
||||
\vspace{-33.1cm}
|
||||
\input{./00-couverture/backcover_tikz}
|
||||
}}
|
||||
}
|
||||
\hspace{9mm}
|
||||
\displayLogos
|
||||
}
|
||||
|
||||
\newcommand{\titleFR}[1]{%
|
||||
\vspace{1cm}
|
||||
{\centering \noindent \textcolor{couleur-ecole-verso}{\rule{\textwidth}{0.2cm}}}
|
||||
\vspace{-1cm}
|
||||
\selectlanguage{french}
|
||||
\section*{\selectfontbackcover\smallTwelve \textcolor{couleur-ecole-verso}{Titre : }{\selectfontbackcover\mdseries{#1}}} % In this particular case, font style needs to get re-selected locally
|
||||
\vspace{1cm}
|
||||
{\centering \noindent \textcolor{couleur-ecole-verso}{\rule{\textwidth}{0.2cm}}}
|
||||
\vspace{-1cm}
|
||||
\selectlanguage{french}
|
||||
\section*{\selectfontbackcover\smallTwelve \textcolor{couleur-ecole-verso}{Titre : }{\selectfontbackcover\mdseries{#1}}} % In this particular case, font style needs to get re-selected locally
|
||||
}
|
||||
|
||||
\newcommand{\keywordsFR}[1]{%
|
||||
\vspace{-0.2cm}
|
||||
\noindent{\smallTwelve \textbf{Mot cl\'{e}s : }#1}
|
||||
\vspace{-0.2cm}
|
||||
\noindent{\smallTwelve \textbf{Mot clés : }#1}
|
||||
}
|
||||
|
||||
\newcommand{\abstractFR}[1]{%
|
||||
\vspace{-0.2cm}
|
||||
\begin{multicols}{2}
|
||||
\begin{spacing}{1}
|
||||
\noindent\smallTwelve \textbf{R\'{e}sum\'{e} : }#1
|
||||
\end{spacing}
|
||||
\end{multicols}
|
||||
\vspace{-0.2cm}
|
||||
\begin{multicols}{2}
|
||||
\begin{spacing}{1}
|
||||
\noindent\smallTwelve \textbf{Résumé : }#1
|
||||
\end{spacing}
|
||||
\end{multicols}
|
||||
}
|
||||
|
||||
\newcommand{\titleEN}[1]{%
|
||||
\vspace{0.5cm}
|
||||
{\centering \noindent \textcolor{couleur-ecole-verso}{\rule{\textwidth}{0.2cm}}}
|
||||
\vspace{-1cm}
|
||||
\selectlanguage{english}
|
||||
\section*{\selectfontbackcover\smallTwelve \textcolor{couleur-ecole-verso}{Title: }{\selectfontbackcover\mdseries{#1}}} % In this particular case, font style needs to get re-selected locally
|
||||
\vspace{0.5cm}
|
||||
{\centering \noindent \textcolor{couleur-ecole-verso}{\rule{\textwidth}{0.2cm}}}
|
||||
\vspace{-1cm}
|
||||
\selectlanguage{english}
|
||||
\section*{\selectfontbackcover\smallTwelve \textcolor{couleur-ecole-verso}{Title: }{\selectfontbackcover\mdseries{#1}}} % In this particular case, font style needs to get re-selected locally
|
||||
}
|
||||
|
||||
\newcommand{\keywordsEN}[1]{%
|
||||
\vspace{-0.2cm}
|
||||
\noindent{\smallTwelve \textbf{Keywords: }#1}
|
||||
\vspace{-0.2cm}
|
||||
\noindent{\smallTwelve \textbf{Keywords: }#1}
|
||||
}
|
||||
|
||||
\newcommand{\abstractEN}[1]{%
|
||||
\vspace{-0.2cm}
|
||||
\begin{multicols}{2}
|
||||
\begin{spacing}{1}
|
||||
\noindent\smallTwelve \textbf{Abstract: }#1
|
||||
\end{spacing}
|
||||
\end{multicols}
|
||||
\vspace{-0.2cm}
|
||||
\begin{multicols}{2}
|
||||
\begin{spacing}{1}
|
||||
\noindent\smallTwelve \textbf{Abstract: }#1
|
||||
\end{spacing}
|
||||
\end{multicols}
|
||||
}
|
||||
|
||||
|
||||
@@ -492,7 +492,7 @@
|
||||
|
||||
%%%%%%%%% Pour suppirmer les entetes et pied de page gênants par exemple juste avant un chapitre sur une page de droite
|
||||
\newcommand{\clearemptydoublepage}{%
|
||||
\newpage{\pagestyle{empty}\cleardoublepage}}
|
||||
\newpage{\pagestyle{empty}\cleardoublepage}}
|
||||
%%%% .... et utiliser la commande \clearemptydoublepage juste avant le \chapter
|
||||
|
||||
|
||||
@@ -504,30 +504,30 @@
|
||||
\RequirePackage{etoolbox}
|
||||
|
||||
\appto\frontmatter{\pagestyle{fancy}
|
||||
\renewcommand{\sectionmark}[1]{}
|
||||
\renewcommand{\chaptermark}[1]{\markboth{\textit{#1}}{}}
|
||||
\fancyhead[LE,RO]{\small\thepage}
|
||||
\fancyhead[RO]{\small\leftmark} % \rightmark = section courante
|
||||
\fancyhead[LE]{\small\leftmark} % \leftmark = chapitre courant
|
||||
\fancyfoot[C]{\thepage} % marque la page au centre
|
||||
\renewcommand{\sectionmark}[1]{}
|
||||
\renewcommand{\chaptermark}[1]{\markboth{\textit{#1}}{}}
|
||||
\fancyhead[LE,RO]{\small\thepage}
|
||||
\fancyhead[RO]{\small\leftmark} % \rightmark = section courante
|
||||
\fancyhead[LE]{\small\leftmark} % \leftmark = chapitre courant
|
||||
\fancyfoot[C]{\thepage} % marque la page au centre
|
||||
}
|
||||
|
||||
\appto\mainmatter{\pagestyle{fancy}
|
||||
\renewcommand{\sectionmark}[1]{\markright{\textit{\thesection.\ #1}}}
|
||||
\renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~--\ \textit{#1}}{}}
|
||||
\fancyhead[LE,RO]{\small\thepage}
|
||||
\fancyhead[RO]{\small\rightmark} % \rightmark = section courante
|
||||
\fancyhead[LE]{\small Partie~\thepart, \leftmark} % \leftmark = chapitre courant
|
||||
\fancyfoot[C]{\thepage} % marque la page au centre
|
||||
\renewcommand{\sectionmark}[1]{\markright{\textit{\thesection.\ #1}}}
|
||||
\renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~--\ \textit{#1}}{}}
|
||||
\fancyhead[LE,RO]{\small\thepage}
|
||||
\fancyhead[RO]{\small\rightmark} % \rightmark = section courante
|
||||
\fancyhead[LE]{\small Partie~\thepart, \leftmark} % \leftmark = chapitre courant
|
||||
\fancyfoot[C]{\thepage} % marque la page au centre
|
||||
}
|
||||
|
||||
\appto\backmatter{\pagestyle{fancy}
|
||||
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
|
||||
\renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~--\ #1}{}}
|
||||
\fancyhead[LE,RO]{\small\thepage}
|
||||
\fancyhead[RO]{} % \rightmark = section courante
|
||||
\fancyhead[LE]{} % \leftmark = chapitre courant
|
||||
\fancyfoot[C]{\thepage} % marque la page au centre
|
||||
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
|
||||
\renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~--\ #1}{}}
|
||||
\fancyhead[LE,RO]{\small\thepage}
|
||||
\fancyhead[RO]{} % \rightmark = section courante
|
||||
\fancyhead[LE]{} % \leftmark = chapitre courant
|
||||
\fancyfoot[C]{\thepage} % marque la page au centre
|
||||
|
||||
}
|
||||
|
||||
@@ -544,28 +544,28 @@
|
||||
|
||||
%%%%%%%%%% Boitemagique %%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\newcommand*{\boitemagique}[2]{
|
||||
\begin{center}
|
||||
\begin{tikzpicture}
|
||||
% la boite
|
||||
\node[rectangle,draw=fondtitre!100,fill=fonddeboite!100,inner sep=10pt, inner ysep=20pt] (mabox)
|
||||
{
|
||||
\begin{minipage}{12cm}
|
||||
#2
|
||||
\end{minipage}
|
||||
};
|
||||
% le titre de la boite
|
||||
\node[fill=fondtitre!100, text=white, rectangle] at (mabox.north) {\sffamily\textbf{#1}};
|
||||
\end{tikzpicture}
|
||||
\end{center}
|
||||
\begin{center}
|
||||
\begin{tikzpicture}
|
||||
% la boite
|
||||
\node[rectangle,draw=fondtitre!100,fill=fonddeboite!100,inner sep=10pt, inner ysep=20pt] (mabox)
|
||||
{
|
||||
\begin{minipage}{12cm}
|
||||
#2
|
||||
\end{minipage}
|
||||
};
|
||||
% le titre de la boite
|
||||
\node[fill=fondtitre!100, text=white, rectangle] at (mabox.north) {\sffamily\textbf{#1}};
|
||||
\end{tikzpicture}
|
||||
\end{center}
|
||||
}
|
||||
|
||||
%%%%%% boitesimple %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\newcommand*{\boitesimple}[1]{%
|
||||
\begin{center}
|
||||
\begin{minipage}{12cm}
|
||||
\begin{shaded}
|
||||
#1
|
||||
\end{shaded}
|
||||
\end{minipage}
|
||||
\end{center}
|
||||
\begin{center}
|
||||
\begin{minipage}{12cm}
|
||||
\begin{shaded}
|
||||
#1
|
||||
\end{shaded}
|
||||
\end{minipage}
|
||||
\end{center}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user