summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz-doc/latex/couverture.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz-doc/latex/couverture.tex')
-rw-r--r--macros/latex/contrib/tkz-doc/latex/couverture.tex98
1 files changed, 98 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz-doc/latex/couverture.tex b/macros/latex/contrib/tkz-doc/latex/couverture.tex
new file mode 100644
index 0000000000..ade0ca4551
--- /dev/null
+++ b/macros/latex/contrib/tkz-doc/latex/couverture.tex
@@ -0,0 +1,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