summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz-doc/latex/couverture.tex
blob: ade0ca45514218ee783a46c1f5b4807a5d7544f4 (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
% encoding: utf8
% Copyright 2020  Alain Matthes
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status “maintained”.
%
% The Current Maintainer of this work is Alain Matthes.

%<---------  Couverture des documentations --------------------------------
\def\fileversion{1.4c}
\def\filedate{2020/03/20}
\typeout{2020/03/20 1.4c couverture.tex}
%<------------------  Make Title ------------------------------------------

\renewcommand\maketitle{%
\null
\AddToShipoutPicture*{%
\setlength\unitlength{1mm}
\put(0,0){%
   \makebox(0,0)[lb]{%
      \color{myblue!10}\rule{\paperwidth}{\paperheight}%
      }%
   }%
\put(0,0){%
   \makebox(0,0)[lb]{%
      \color{myblue}\rule{40mm}{\paperheight}%
      }%
   }%
\put(20,270){% 270 en portrait 180
   \rotatebox{90}{%
      \makebox(0,0)[r]{%
         \fontsize{30}{30}\color{myblue!50!white}%
         \bfseries
         \selectfont{\@title\ \tkzversionofpack}\hfill%
         }%
      }%
   }%
\put(60,60){%
\begin{pgfpicture}
\pgfsys@transformxyscale{.5}{.5}
\pgfmathdeclarerandomlist{color}{{myblue}{DarkBlue}{SteelBlue}{blue}{MidnightBlue}}
 \foreach \a in {1,...,5}{%
      \pgfmathrandominteger{\x}{1}{300}%
      \pgfmathrandominteger{\y}{1}{200}%
      \pgfmathrandominteger{\r}{20}{100}%
      \pgfmathrandominteger{\s}{5}{95}%
      \pgfmathrandominteger{\o}{50}{80}%
      \pgfmathrandomitem{\c}{color}%
            \pgfdeclareradialshading{ballshading}{%
            \pgfpoint{-10bp}{10bp}}%
      {%
       color(0bp)=(\c!15!white);
       color(9bp)=(\c!75!white);
       color(18bp)=(\c!70!black);
       color(25bp)=(\c!50!black);
       color(50bp)=(black)%
       }%
      \pgfsetfillopacity{\o/100}%
      \pgfpathcircle{\pgfpoint{+\x pt}{+\y pt}}{+\r pt}
      \pgfshadepath{ballshading}{\s}%
      \pgfusepath{}%
      }%
   \end{pgfpicture}}

\put(60,250){% 60,250 en portait  120,180
   \makebox(0,0)[l]{%
      \begin{tikzpicture}
         \nodeshadowedone(2,-1.25){\fontsize{60}{60}
         \selectfont{\tkznamecollection}}
      \end{tikzpicture}
      }%
   }%
\put(120,40){%
   \makebox(0,0)[l]{%
      \fontsize{17}{21}
      \textcolor{sectioncolor}{\selectfont{\tkzauthorofpack}}%
      }%
   }%
\put(120,20){%
   \makebox(0,0)[l]{%
      \textcolor{sectioncolor}{\url{\tkzurlauthorcom}}%
      }%
   }%
\put(120,30){%
   \makebox(0,0)[l]{%
      \textcolor{sectioncolor}{\today \ \ Documentation V.\tkzversionofdoc}}%
      }%
   }%
\setcounter{footnote}{0}%
}%
%<----------------------- End   Couverture ---------------------------->
\endinput