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

covers: recentralized ED data (follows d07c4fa1, 3c004766)

 front cover: take into account ED name taking 1 or 2 lines
parent 3c004766
\nomecole{Mati\`{e}re, Mol\'{e}cules, Mat\'{e}riaux}
\numeroecole{596}
\definecolor{color-ecole}{RGB}{193,192,183}
\nomecole{Arts, Lettres, Langues}
\numeroecole{595}
\definecolor{color-ecole}{RGB}{240,209,134}
\nomecole{Biologie, Sant\'{e}}
\numeroecole{605}
\definecolor{color-ecole}{RGB}{163,219,208}
\nomecole{Droit et Science politique}
\numeroecole{599}
\definecolor{color-ecole}{RGB}{188,208,220}
\nomecole{Sciences \'{E}conomiques et sciences De Gestion}
\numeroecole{597}
\definecolor{color-ecole}{RGB}{216,178,210}
\nomecole{\'{E}cologie, G\'{e}osciences, Agronomie et Alimentation}
\numeroecole{600}
\definecolor{color-ecole}{RGB}{146,213,182}
\nomecole{\'{E}ducation, Langages, Interactions, Cognition, Clinique}
\numeroecole{603}
\definecolor{color-ecole}{RGB}{249,201,188}
\nomecole{Math\'{e}matiques et Sciences et Technologies \\ de l'Information et de la Communication}
\numeroecole{601}
\definecolor{color-ecole}{RGB}{236,115,127}
\nomecole{Sciences de la Mer et du Littoral}
\numeroecole{598}
\definecolor{color-ecole}{RGB}{162,225,230}
\nomecole{Sciences pour l'Ing\'{e}nieur}
\numeroecole{602}
\definecolor{color-ecole}{RGB}{159,182,217}
\nomecole{Soci\'{e}t\'{e}s, temps, territoires}
\numeroecole{604}
\definecolor{color-ecole}{RGB}{172,184,192}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% ETABLISSEMENTS %%%%%%%%%%%%%%%%
%%% Switch case in latex
%%% https://tex.stackexchange.com/a/343306
......@@ -13,7 +11,99 @@
\makeatother
%%%% Nom du logo et nom complet sur plusieurs lignes pour chaque établissement
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% ECOLES DOCTORALES %%%%%%%%%%%%%%%%
%%%% #1: dossier des images, #2: numero ED, #3: couleur ED, #4-#5: nom complet sur plusieurs lignes
\newcommand\addecole[5]{\direcole{#1}\numeroecole{#2}\definecolor{color-ecole}{RGB}{#3}\nomecoleA{#4}\nomecoleB{#5}}
\makeswitch[default]\ecole{}
\addcase\ecole{3M}{\addecole
{3M}
{596}
{193,192,183}
{Mati\`{e}re, Mol\'{e}cules, Mat\'{e}riaux}
{}
}
\addcase\ecole{ALL}{\addecole
{ALL}
{595}
{240,209,134}
{Arts, Lettres, Langues}
{}
}
\addcase\ecole{BS}{\addecole
{BS}
{605}
{163,219,208}
{Biologie, Sant\'{e}}
{}
}
\addcase\ecole{DSP}{\addecole
{DSP}
{599}
{188,208,220}
{Droit et Science politique}
{}
}
\addcase\ecole{EDGE}{\addecole
{EDGE}
{597}
{216,178,210}
{Sciences \'{E}conomiques et sciences De Gestion}
{}
}
\addcase\ecole{EGAAL}{\addecole
{EGAAL}
{600}
{146,213,182}
{\'{E}cologie, G\'{e}osciences, Agronomie et Alimentation}
{}
}
\addcase\ecole{ELICC}{\addecole
{ELICC}
{603}
{249,201,188}
{\'{E}ducation, Langages, Interactions, Cognition, Clinique}
{}
}
\addcase\ecole{MathSTIC}{\addecole
{MathSTIC}
{601}
{236,115,127}
{Math\'{e}matiques et Sciences et Technologies}
{de l'Information et de la Communication}
}
\addcase\ecole{SML}{\addecole
{SML}
{598}
{162,225,230}
{Sciences de la Mer et du Littoral}
{}
}
\addcase\ecole{SPI}{\addecole
{SPI}
{602}
{159,182,217}
{Sciences pour l'Ing\'{e}nieur}
{}
}
\addcase\ecole{STT}{\addecole
{STT}
{604}
{172,184,192}
{Soci\'{e}t\'{e}s, temps, territoires}
{}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% ETABLISSEMENTS %%%%%%%%%%%%%%%%
%%%% #1 nom du logo, #2-#4: nom complet sur plusieurs lignes
\newcommand\addetablissement[4]{\logoetablissement{#1}\nometablissementA{#2}\nometablissementB{#3}\nometablissementC{#4}}
\makeswitch[default]\etablissement{}
......@@ -150,4 +240,3 @@
{}
{L'UNIVERSIT\'{E} DE RENNES 2}
}
......@@ -7,9 +7,6 @@
% Include doctoral school data
% (3M ALL BS DSP EDGE EGAAL ELICC MathSTIC SML SPI STT)
\ecole{MathSTIC}
\input{\direcole/ecole.tex}
% Inclure infos de l'établissement
% Include institution data
......
......@@ -204,19 +204,21 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% 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}}
\ecole{}
%%%%% Dossier contenant les info de l'ecole doctorale
\newcommand*{\direcole}[1]{\gdef\vdirecole{./Couverture-these/ecoles-doctorales/#1}}
\direcole{}
%%%%% Nom ecole
\newcommand{\nomecole}[1]{\gdef\@nomecole{#1}}
\nomecole{}
%%%%% Nom ecole, une variable par ligne
\newcommand{\nomecoleA}[1]{\gdef\@nomecoleA{#1}}
\nomecoleA{}
\newcommand{\nomecoleB}[1]{\gdef\@nomecoleB{#1}}
\nomecoleB{}
%%%%% Numero ecole doctorale
\newcommand{\numeroecole}[1]{\gdef\@numeroecole{#1}}
\numeroecole{}
%%%% Etablissement delivrant le diplome: one variable per displayed line
%%%% Etablissement delivrant le diplome, une variable par ligne
\newcommand{\nometablissementA}[1]{\gdef\vnometablissementA{#1}}
\nometablissementA{}
\newcommand{\nometablissementB}[1]{\gdef\vnometablissementB{#1}}
......@@ -275,7 +277,7 @@
\put(0,0){%
\parbox[b][42.6cm]{\paperwidth}{%
\vfill
\includegraphics[width=\paperwidth,keepaspectratio,trim={0 5pt 0 0}]{\direcole/image-fond-garde} % Must trim white border off of bottom
\includegraphics[width=\paperwidth,keepaspectratio,trim={0 5pt 0 0}]{\vdirecole/image-fond-garde} % Must trim white border off of bottom
\begin{tikzpicture}
\fill[color-ecole] (0,0) rectangle (\paperwidth,4.4);
\end{tikzpicture}
......@@ -286,7 +288,7 @@
\draw [draw=white,fill=white]
(current page.north west) rectangle (\paperwidth,1);
\node[xshift=6.3cm,yshift=2cm] {
\includegraphics[height=2.4cm,left]{\direcole/logo}
\includegraphics[height=2.4cm,left]{\vdirecole/logo}
};
\node[xshift=.6\paperwidth,yshift=2cm] {
\includegraphics[height=2.4cm,width=5cm,keepaspectratio]{\vlogoetablissement}
......@@ -305,6 +307,7 @@
\vspace{1.3cm}
{\if\@nomecoleB\empty ~\\ \else \fi} % To compensate the 2 lines of MathSTIC
{\setlength{\baselineskip}{0.9\baselineskip}
{\if\vnometablissementA\empty ~\\ \else \large \vnometablissementA \\ \fi}
{\if\vnometablissementB\empty ~\\ \else \large \vnometablissementB \\ \fi}
......@@ -313,7 +316,8 @@
\vspace{0.01cm}
{\setlength{\baselineskip}{0.7\baselineskip}
{\small\textsc{\'{E}cole Doctorale \No \@numeroecole}} \\
\textit{\@nomecole} \\
{\textit{\@nomecoleA}} \\
{\if\@nomecoleB\empty \else \textit{\@nomecoleB} \\ \fi}
{Sp\'{e}cialit\'{e} : \textit{\@spec}}
\fontsize{12}{10}\selectfont
......@@ -354,12 +358,12 @@
\put(0,0){%
\parbox[t][\paperheight]{\paperwidth}{%
\vspace{-29.6cm}
\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{\direcole/image-fond-dos}%
\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{\vdirecole/image-fond-dos}%
}}
\put(0,0){%
\parbox[t][\paperheight]{\paperwidth}{%
\vspace{-14.5cm}
\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{\direcole/image-fond-dos2}%
\includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{\vdirecole/image-fond-dos2}%
}}
}
\pagestyle{empty}
......@@ -368,7 +372,7 @@
\draw [draw=white]
(current page.north west) rectangle (\paperwidth,1);
\node[xshift=6.3cm,yshift=2cm] {
\includegraphics[height=2.4cm,left]{\direcole/logo}
\includegraphics[height=2.4cm,left]{\vdirecole/logo}
};
\hfill
\node[xshift=.55\paperwidth,yshift=2cm] {
......
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