summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex
blob: 8d874548e01628411adde2d1d294eff6ff091daa (plain)
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
%%% Copyright (C) 2015-2024 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
%%%

%% 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{\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{\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*}{\paperwidth}[0,1](0mm,56\TPVertModule)
  \textcolor{rouge}{\rule{\banderougewidth}{\banderougeheight}}% % bande rouge
  \textcolor{or}{\rule{\bandeorwidth}{\bandeorheight}}           % bande or
\end{textblock*}

%% logo UL
\begin{textblock*}{\bandeorwidth}(\banderougewidth,58\TPVertModule)
  \includegraphics[height=\logoheight,keepaspectratio=true]{images/ul_p}
\end{textblock*}

%% image de fond
\begin{textblock*}{\paperwidth}(0mm,0mm)
  \includegraphics[height=\imageheight,keepaspectratio=true]{images/Suricates_Namibia-2}
\end{textblock*}

%% 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*}{\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: