summaryrefslogtreecommitdiff
path: root/info/guide-latex-fr/Chapitres/page-garde.tex
blob: c1571562e9f388f846852a45cd89b1d5f0e11276 (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
\thispagestyle{empty}

% Compiler 2 fois (remember picture & overlay)
\begin{tikzpicture}[remember picture, overlay]
% Longueur --> pas de problèmes avec la dimension
\newlength{\trisize}
\setlength{\trisize}{0.5\paperwidth}

% Longueur arbitraire (pt par défaut)
\def\xsep{30} % Valeur correcte : 30
\def\ysep{30} % Idem


% Coins
\fill[BlueFR] (current page.north west) --++ (\trisize,0) --++ (-\trisize,-\trisize) -- cycle;
\fill[RedFR] (current page.south east) --++ (-\trisize,0) --++ (\trisize,\trisize) -- cycle;


% Titre
\node[anchor = east, xshift = -0.5*\xsep, font = \fontsize{43}{20}\selectfont\bfseries] (title) at (current page.38) {Initiation à \LaTeX{}};

% Nom du package (CTAN)
\node[anchor = north, font = \fontsize{36}{20}\selectfont\ttfamily] (packagename) at (title.south) {guide-latex-fr};

% Sous-titre
\node[anchor = north, yshift = -\ysep, text width = 0.5\linewidth, align = center, font = \huge\itshape] (soustitre) at (packagename.south) {Pour débutants ou jeunes utilisateurs};

% Auteur
\node[anchor = north, yshift = -1.5*\ysep, font = \huge] (author) at (soustitre.south) {Par Adrien \textsc{Bouzigues}};
\node[anchor = north] (authorcl) at (author.south) {\includegraphics[width = 0.5\linewidth]{buque_auteur.eps}};

% Date & version
\node[anchor = north, yshift = -1.5*\ysep, font = \Large] (creation) at (authorcl.south) {13 juillet 2016};
\node[anchor = north, text width = 0.5\linewidth, align = center, font = \Large\bfseries] at (creation.south) {Version 3.5 à jour au \\ \today};


% Graphes
\begin{scope}[shift = {(current page.west)}, xshift = 1.5*\xsep, yshift = -2.5*\ysep]
\begin{axis}[xmax = 6.5, ymax = 4.5, xlabel = {Complexité et taille du rapport}, ylabel = {Effort et temps requis}, axis x line = bottom,
axis y line = left, xlabel near ticks, ylabel near ticks, xtick = \empty, ytick = \empty]

\addplot[very thick, dashed, orange, domain = 0:3, smooth] {0.17 + 1/(3.261 - \x)} node [pos = 0.7, above left, text = orange] {Word};

\addplot[very thick, Green, domain = 0:6] {0.994 + 0.123*x + 0.0355*x^2} node[pos = 0.7, below right] {\LaTeX{}};

\addplot[very thick, red, line legend] coordinates { (0,4) (6,4) } node [pos = 0.5, above] {Impossible à faire};
\end{axis}
\end{scope}


% Eclair
\node[anchor = south west, xshift = 1.5*\xsep, yshift = 0.5*\ysep] at (current page.south west) {\includegraphics[width = 0.3\linewidth]{eclair.eps}};
\end{tikzpicture}