Commit 68f77f6b authored by Pierre-Louis Roman's avatar Pierre-Louis Roman
Browse files

front cover: separate fillable cells from template, hiddable thesis number

main.tex: move \begin{document} and front cover in french here, cleanup file
these-ubl.cls: insert front cover background image here, cleanup file
parent 6d22265c
%Pour diff\'{e}rentes universit\'{e}s il faurdra modifier ce d\'{e}but de document
%For different universities modify the beginning of this document to adapt the logos (logo)
\geometry{vmargin=4.0cm}
% List of doctoral schools
% Inclure infos de l'école doctorale
% Include doctoral school data
% (3M ALL BS DSP EDGE EGAAL ELICC MathSTIC SML SPI STT)
\ecole{MathSTIC}
% \ecole{3M}
% \ecole{ALL}
% \ecole{BS}
% \ecole{DSP}
% \ecole{EDGE}
% \ecole{EGAAL}
% \ecole{ELICC}
% \ecole{SML}
% \ecole{SPI}
% \ecole{STT}
% Include specific data for the doctoral school
\input{\direcole/ecole.tex}
\logoetablissement{./Couverture-these/logos-etablissements/UR1-noir}%logo etablissement (ici Rennes 1)
\vspace{2.5cm}
\logoetablissement{./Couverture-these/logos-etablissements/UR1-noir}%logo etablissement (ici Rennes
1)
%Indiquer l'\'{e}tablissement de d\'{e}livrance du diplome
%Provide the name of the institution that delivers the diploma,
%Provide the name of the institution that delivers the diploma,
\unite{L'UNIVERSIT\'{E} DE RENNES 1}
%Si la th\`{e}se est en co-tutelle ou en d\'{e}livrance conjointe, mettre le logo des 2 \'{e}tablissements
%Si la th\`{e}se est en co-tutelle ou en d\'{e}livrance conjointe, mettre le logo des 2 \'{e}tablissements
%in the case of "co-tutelle" provide both names (logos)
%
%Inscrivez ici votre sp\'{e}cialit\'{e} (voir liste des sp\'{e}cialit\'{e}s sur le site de votre \'{e}cole doctorale)
%Inscrivez ici votre sp\'{e}cialit\'{e} (voir liste des sp\'{e}cialit\'{e}s sur le site de votre \'{e}cole doctorale)
%Indicate the domain (see list of domains in your ecole doctorale)
\spec{Sp\'{e}cialit\'{e} : \textit{(voir liste des sp\'{e}cialit\'{e}s)}}
\usepackage{eso-pic}
\begin{document}
% La page de garde est en français
% The front cover is in French
\selectlanguage{french}
%background image of the front cover
\AddToShipoutPicture*{%
\put(0,0){%
\parbox[b][42.5cm]{\paperwidth}{%
\vfill
\includegraphics[width=\paperwidth,keepaspectratio,trim={0 4pt 0 0}]{\direcole/image-fond-garde} % Must trim white border off of bottom
\begin{tikzpicture}
\fill[color-ecole] (0,0) rectangle (\paperwidth,4.3);
\end{tikzpicture}
\vfill
}}}
\spec{« voir liste sur le site de votre \'{e}cole doctorale »}
%Attention : le pr\'{e}nom doit être en minuscules (Jean) et le NOM en majuscules (BRITTEF)
%Attention : the first name in small letters and the name in Capital letters
\author{« Pr\'{e}nom NOM »}
% Donner le titre complet de la th\`{e}se, \'{e}ventuellement le sous titre, si n\'{e}cessaire sur plusieurs lignes
%Give the complete title of the thesis, if necessary on several lines
\title{« Titre de la th\`{e}se »}
\lesoustitre{« Sous-titre de la th\`{e}se »}
%Indiquer la date et le lieu de soutenance de la th\`{e}se
%indicates the date and the place of the defense
\date{« date »}
\lieu{« Lieu »}
%Indiquer le nom du (ou des) laboratoire (s) dans le(s)quel(s) le travail de th\`{e}se a \'{e}t\'{e} effectu\'{e}, indiquer aussi si souhait\'{e} le nom de la (les) facult\'{e}(s) (UFR, \'{e}cole(s), Institut(s), Centre(s)...), son (leurs) adresse(s)...
%Indicates the name (or names) of research laboratories where the work has been done as well as (if desired) the names of faculties (UFR, Schools, institution...
\uniterecherche{Unit\'{e} de recherche : }
%Indiquer le Numero de th\`{e}se, si cela est opportun, ou faire disparaitre cet item de la couverture
%Indicate the number of the thesis if there is one.
\numthese{Th\`{e}se \No : }
\uniterecherche{« voir liste sur le site de votre \'{e}cole doctorale »}
%Indiquer le Numero de th\`{e}se, si cela est opportun, ou laisser vide pour faire disparaitre cet ligne de la couverture
%Indicate the number of the thesis if there is one. otherwise leave empty so the line disappeurs on the cover
\numthese{« si pertinent »} % \numthese{}
%Indiquer le Pr\'{e}nom en minuscules et le Nom en majuscules, le titre de la personne et l’\'{e}tablissement dans lequel il effectue sa recherche
%Indicates the first name on small letters and the Names on capital letters, the person's title and the institution where he/she belongs to.
......
......@@ -3,14 +3,19 @@
%appel de la class these-ubl
% these-ubl class call
\documentclass{these-ubl}
\usepackage{biblatex}
% Spécifier vos fichiers de bibliographie
% Specify you bibliography files here
\addbibresource{./biblio/biblio.bib}
\geometry{vmargin=4.0cm}
\input{./Couverture-these/pagedegarde} % page de garde UR1
\begin{document}
% La page de garde est en français
% The front cover is in French
\selectlanguage{french}
\input{./Couverture-these/pagedegarde}
% Sélectionner la langue du contenu suivant cette ligne
% Select the content language following this line
......@@ -23,40 +28,35 @@
% Ne pas oublier cette commande qui g\'{e}n\`{e}re la page de couverture avant
%This command will generate the front cover
\frontmatter
\clearemptydoublepage
\frontmatter
\renewcommand{\contentsname}{Table of Contents}
\tableofcontents %sommaire %table of content
\clearemptydoublepage
\input{./Introduction/introduction}
%\shorttableofcontents{Sommaire}{0}
%
% Mettre ici votre chapitre d'Introduction, le cas \'{e}ch\'{e}ant
%Input the introduction chapter
%
\clearemptydoublepage
\input{./Introduction/introduction}
\clearemptydoublepage
\mainmatter % Ne pas oublier, avec \frontmatter et \backmatter
%this command inputs \frontmatter and \backmatter as a cover in the front and the back
%
% Mettre ici votre chapitre 1
%Input your chapter 1
%
\input{./Chapitre1/chapitre1}
%
% Mettre ici votre chapitre 2
%Input your chapter 2
%
\clearemptydoublepage
\input{./Chapitre2/chapitre2}
%
%
% D\'{e}-commenter pour ins\'{e}rer les autres chapitres, ici votre chapitre X
% Uncomment to insert other chapters, here your chapter X
%
%\input{./Chapitrex/chapitrex}
%\clearemptydoublepage
%
\clearemptydoublepage
\backmatter
\input{./Conclusion/conclusion}
......@@ -69,7 +69,7 @@
% nocite: Pour citer la totalit\'{e} des r\'{e}f\'{e}rences contenues dans le fichier biblio
% nocite: In order to cite all the references included biblio
\nocite{*}
\nocite{*}
\printbibliography[heading=primary,keyword=primary]
\newpage
\nocite{*}
......
......@@ -55,7 +55,8 @@
\RequirePackage{hyperref} %Utiliser pour une bibliographie interactive + sommaire et TOC interactifs (pour une sortie PDF, par exemple).
\hypersetup{colorlinks=true, citecolor=black, filecolor=black, linkcolor=black, urlcolor=black}
\RequirePackage[export]{adjustbox} % To position logos left/right of pages
\RequirePackage{eso-pic} % For \AddToShipoutPicture used for cover backgrounds
\RequirePackage[export]{adjustbox} % To position cover logos left/right of pages
% A ajouter dans hypersetup pour plus de visibilite dans les proprietes du document
%pdftitle={titre du document}, pdfauthor={auteur}, pdfcreator={PdfLaTeX}, pdfkeywords={mots-cl\'{e}}, pdfsubject={sujet du document}
......@@ -78,7 +79,11 @@
%\renewcommand{\rmdefault}{qpl}
%\renewcommand{\sfdefault}{qpl}
%%%%%%%%%%%%%% En-tete chap %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% En-tete chap %%%%%%%%%%%%%%%%
\makeatletter
\def\thickhrulefill{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}
\def\@makechapterhead#1{%
......@@ -106,9 +111,10 @@
\vskip 30\p@
}}
%%%%%%%%%%%%%%%%%%%% Fin en-tête de chapitre %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%% Tete de parties %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% Tete de parties %%%%%%%%%%%%%%%%
\makeatletter
\newcommand*{\jolipart}[1]{%
......@@ -131,8 +137,10 @@
\partnumberfont{\sc\normalsize}
%%%%%%%%%%%%%%%%%% REGLAGE DE LA BIBLIOGRAPHIE %%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%% ATTENTION, on utilise Biblatex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% REGLAGE DE LA BIBLIOGRAPHIE %%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% ATTENTION, on utilise Biblatex %%%%%%%%%%%%%
\RequirePackage[style=verbose-trad1,hyperref,backend=biber]{biblatex} %Pour le style
% biblatex avec gestion des mots cl\'{e}s des entr\'{e}es bibliographiques
......@@ -165,12 +173,14 @@
}
%%%%%%%%%%%%%%%%%% Interligne simple pour citations et vers %%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%% Interligne simple pour citations et vers %%%%%%%%%%%%%%%%%%
%% Environnements: QUOTE, QUOTATION, VERSE
% Copyright (C) 2002 Mike Nolta <mrnolta@princeton.edu>, GPL V. 2.0 and
% later version. http://www.physics.princeton.edu/cosmology/computing/PrincetonThesis.cls
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\let\orig@quote\quote
\let\endorig@quote\endquote
\renewenvironment*{quote}
......@@ -189,7 +199,10 @@
{\begin{old@verse}\begin{singlespace}}
{\end{singlespace}\end{old@verse}}
%%%%%%%%%%%%%%%% TITRE THESE PAGE DE GARDE %%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% VARIABLES PAGE DE GARDE %%%%%%%%%%%%%%%%
%%%%% Ecole doctorale definissant le dossier contenant les info de cette ED
\newcommand*{\ecole}[1]{\gdef\direcole{./Couverture-these/ecoles-doctorales/#1}}
......@@ -239,7 +252,11 @@
\newcommand{\numthese}[1]{\gdef\@numthese{#1}}
\numthese{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% PAGE DE GARDE %%%%%%%%%%%%%%%%
% Define some font sizes specific to the front cover
\newcommand{\HugeFront}{\fontsize{26}{31}\selectfont} % Used in 'these de doctorat' title
\newcommand{\LargeFront}{\fontsize{16}{19}\selectfont} % Used in thesis title
......@@ -249,6 +266,18 @@
\def\maketitle{%
\thispagestyle{empty}
\clearpage
%background image of the front cover
\AddToShipoutPicture*{%
\put(0,0){%
\parbox[b][42.5cm]{\paperwidth}{%
\vfill
\includegraphics[width=\paperwidth,keepaspectratio,trim={0 4pt 0 0}]{\direcole/image-fond-garde} % Must trim white border off of bottom
\begin{tikzpicture}
\fill[color-ecole] (0,0) rectangle (\paperwidth,4.3);
\end{tikzpicture}
\vfill
}}}
%
\begin{tikzpicture}[remember picture,overlay,line width=0mm]
\draw [draw=white,fill=white]
(current page.north west) rectangle (\paperwidth,1);
......@@ -279,7 +308,7 @@
{\setlength{\baselineskip}{0.7\baselineskip}
{\small\textsc{\'{E}cole Doctorale \No \@numeroecole}} \\
\textit{\@nomecole} \\
\@spec
{Sp\'{e}cialit\'{e} : \textit{\@spec}}
\fontsize{12}{10}\selectfont
\vspace{0.5cm}
......@@ -293,8 +322,8 @@
\begin{spacing}{1}
\small
\textbf{Th\`{e}se pr\'{e}sent\'{e}e et soutenue \`{a} \@lieu, le \@date} \\
\textbf{\@uniterecherche} \\
\textbf{\@numthese}
\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}
\vspace{1.1cm}
\begin{small}
......@@ -311,9 +340,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% QUATRIEME DE COUVERTURE %%%%%%%%%%%%%%%%
\newcommand{\backcoverheader}{%
\AddToShipoutPicture*{%
\put(0,0){%
......@@ -393,11 +422,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% En-tetes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% EN-TETES PAGES %%%%%%%%%%%%%%%%
%%%%%%%%% Pour suppirmer les entetes et pied de page gênants par exemple juste avant un chapitre sur une page de droite
\newcommand{\clearemptydoublepage}{%
......@@ -405,7 +431,7 @@
%%%% .... et utiliser la commande \clearemptydoublepage juste avant le \chapter
\fancyhf{} % on annule le fancy automatique
\fancyhf{} % on annule le fancy automatique
%%%%%%%%%% Gerer les en tetes dans les frontmatter mainmatter et backmatter
......@@ -441,9 +467,9 @@
}
%%%%%%%%%%%%%% FAIRE DES ENCARTS %%%%%%%%%%%%%%%%%%%%%%%%%%
% Couleurs :
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% FAIRE DES ENCARTS %%%%%%%%%%%%%%%%
\definecolor{fondtitre}{RGB}{85,85,85}
\definecolor{fonddeboite}{RGB}{232,232,232}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment