summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex')
-rw-r--r--Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex126
1 files changed, 102 insertions, 24 deletions
diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex b/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex
index 66824e47cba..8df0bd2616f 100644
--- a/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex
+++ b/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex
@@ -1,52 +1,130 @@
-\begingroup
+%%% Copyright (C) 2019 Vincent Goulet
+%%%
+%%% Ce fichier fait partie du projet
+%%% «Rédaction avec LaTeX»
+%%% https://gitlab.com/vigou3/formation-latex-ul
+%%%
+%%% Cette création est mise à disposition sous licence
+%%% Attribution-Partage dans les mêmes conditions 4.0
+%%% International de Creative Commons.
+%%% https://creativecommons.org/licenses/by-sa/4.0/
+
+%%%
+%%% Page de titre
+%%%
-\TPGrid{3}{36}
+%% Normes de présentation visuelle 2018
+%%
+%% - grille de 8 unités de haut
+%% - 1 mesure = 1/8 d'unité
+%% - bande identitaire de 1 mesure placée au bas de la 7e unité
+%% - logo haut de 4 mesures avec blancs de deux mesures en haut et
+%% en bas
+%% - blanc équivalent à la largeur du blason à droite du logo
+%% - bande or de la largeur du logo + blanc à droite
+%%
+%% Dimensions du logo UL
+%%
+%% hauteur: 128
+%% largeur totale: 310
+%% largeur blason: 100
+%% valeur clé: (310 + 100)/128 = 3.2031125
+%%
+%% Dimensions de l'image
+%%
+%% hauteur: 55 mesures - 1pt (filet) = 54.9191919 mesures
+%% largeur: 8.5in
+%% ratio largeur/hauteur: 8.5/9.4392
+
+\begingroup
+\TPGrid{8}{64}
\textblockorigin{0mm}{0mm}
\setlength{\parindent}{0mm}
-\setlength{\banderougewidth}{2\TPHorizModule}
+\setlength{\imageheight}{54.9191919\TPVertModule}
+\setlength{\logoheight}{4\TPVertModule}
+\setlength{\bandeorwidth}{3.203125\logoheight}
+\setlength{\banderougewidth}{\paperwidth}
+\addtolength{\banderougewidth}{-\bandeorwidth}
+\setlength{\bandeorheight}{\TPVertModule}
\setlength{\banderougeheight}{\TPVertModule}
-\setlength{\bandeorwidth}{\TPHorizModule}
-\setlength{\bandeorheight}{\banderougeheight}
-\setlength{\imageheight}{29\TPVertModule}
-\setlength{\logoheight}{2.5\TPVertModule}
-\setlength{\gapwidth}{1.5pt}
-\addtolength{\bandeorwidth}{-\gapwidth}
-\addtolength{\imageheight}{-\gapwidth}
+\setlength{\textwidth}{\paperwidth}
+\addtolength{\textwidth}{-1.5\TPHorizModule}
+
+
+\def\titlefmt{\protect\raggedright%
+ \sffamily\bfseries
+ \fontsize{48}{48}\selectfont
+ Rédaction avec
+ \rmfamily\mdseries
+ \raisebox{10pt}{{\textbackslash}title}%
+ \fontsize{80}{70}\selectfont%
+ \{%
+ \fontsize{70}{70}\selectfont%
+ \LaTeX
+ \fontsize{80}{70}\selectfont%
+ \}}
+\def\authorfmt{%
+ \sffamily\bfseries\fontsize{28}{38}\selectfont\theauthor}
+\def\affiliation{%
+ \sffamily\mdseries\fontsize{16}{20}\selectfont
+ Professeur titulaire \\
+ École d'actuariat, Université Laval}
+\def\edition{%
+ \sffamily\mdseries\fontsize{16}{16}\selectfont
+ Édition {\fullcaps\year}.\month}
%% bandeau identitaire
-\begin{textblock*}{8.5in}[0,1](0mm,30\TPVertModule)
+\begin{textblock*}{\paperwidth}[0,1](0mm,56\TPVertModule)
\textcolor{rouge}{\rule{\banderougewidth}{\banderougeheight}}% % bande rouge
- \rule{\gapwidth}{0pt}% % filet
\textcolor{or}{\rule{\bandeorwidth}{\bandeorheight}} % bande or
\end{textblock*}
%% logo UL
-\begin{textblock*}{\TPHorizModule}(2\TPHorizModule,31\TPVertModule)
- \rule{\gapwidth}{0pt}% % filet
- \includegraphics[height=\logoheight,keepaspectratio=true]{ul_p}
+\begin{textblock*}{\bandeorwidth}(\banderougewidth,58\TPVertModule)
+ \includegraphics[height=\logoheight,keepaspectratio=true]{images/ul_p}
\end{textblock*}
%% image de fond
-\begin{textblock*}{8.5in}(0mm,0mm)
- \includegraphics[height=\imageheight,keepaspectratio=true]{Suricata.jpg}
+\begin{textblock*}{\paperwidth}(0mm,0mm)
+ \includegraphics[height=\imageheight,keepaspectratio=true]{images/Meerkat_stare.jpg}
\end{textblock*}
-%% trame
-\begin{textblock*}{2\TPHorizModule}(0mm,13\TPVertModule)
- \pgfsetfillopacity{0.5}
- \textcolor{white}{\rule{\linewidth}{8\TPVertModule}}
- \pgfsetfillopacity{1}
+%% titre
+%% [https://tex.stackexchange.com/a/49912]
+\begin{textblock*}{\textwidth}(0.75\TPHorizModule,4\TPVertModule)
+ {\par\color{black!10}\titlefmt\par}
\end{textblock*}
+\null\cleardoublepage
+
+%%%
+%%% Page frontispice
+%%%
+
%% titre
-\begin{textblock*}{1.7\TPHorizModule}(0.3\TPHorizModule,14.2\TPVertModule)
- \thetitle
+\begin{textblock*}{\textwidth}(0.75\TPHorizModule,4\TPVertModule)
+ \titlefmt
+\end{textblock*}
+
+%% auteur
+\begin{textblock*}{\textwidth}(0.75\TPHorizModule,18.5\TPVertModule)
+ \authorfmt
\end{textblock*}
+%% affiliation
+\begin{textblock*}{\textwidth}(0.75\TPHorizModule,22.5\TPVertModule)
+ \affiliation
+\end{textblock*}
+
+%% édition
+\begin{textblock*}{\textwidth}(0.75\TPHorizModule,58\TPVertModule)
+ \edition
+\end{textblock*}
\endgroup
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "formation-latex-ul"
%%% TeX-engine: xetex
+%%% coding: utf-8
%%% End: