diff options
author | Karl Berry <karl@freefriends.org> | 2013-11-27 22:29:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-11-27 22:29:25 +0000 |
commit | cdcbacd7c8941f2c8f774d373d813bc3ffebf629 (patch) | |
tree | dc463568de34cdbdc3e142db2d5fb9f11f295630 /Master/texmf-dist/tex/latex | |
parent | f90134b905cb49dac07ee7621641b247505456ad (diff) |
pas-vc (27nov13)
git-svn-id: svn://tug.org/texlive/trunk@32263 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
16 files changed, 1555 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-andromede.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-andromede.tex new file mode 100644 index 00000000000..c88285b58c3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-andromede.tex @@ -0,0 +1,89 @@ +\def\modele@andromede{andromede} +\def\cv@h@andromede{2} + +% =============== FOND =============== + +\newcommand*\fond@andromede{% + % dégradé bas + \fill[draw=white,right color=\cmdPAS@bg@bgcolor!30,left color=white] (22,-28) -- (0,-28) -- (0,-27.5) -- (18,-27.5) .. controls (20,-27.5) and (21,-27) .. (22,-25.5) -- cycle; + % traits verticaux à gauche + \draw[\cmdPAS@bg@bordercolor] (1,0) -- (1,-\paperheight); + \draw[gray] (1.25,0) -- (1.25,-\paperheight); + % Dégradé haut 1 + \fill[left color=white,right color=\cmdPAS@bg@bgcolor!30] (.5\paperwidth,0) rectangle +(13,-\cv@h@andromede); + % Liseret épais horizontal 2 + \fill[left color=\cmdPAS@bg@bgcolor,right color=\cmdPAS@bg@bgcolor!40,] (0,-\cv@h@andromede) rectangle +(22,-.25); + % dégradé 3 + \fill[left color=\cmdPAS@bg@bgcolor,right color=\cmdPAS@bg@bgcolor!10] (0,-\cv@h@andromede-.25) -- (23,-\cv@h@andromede-.25) -- (23,-\cv@h@andromede-1.75) -- (.75\paperwidth,-\cv@h@andromede-1.75) -- (.72\paperwidth,-\cv@h@andromede-2.25) -- (0,-\cv@h@andromede-2.25) -- cycle; + % parallélogramme + \fill[\cmdPAS@bg@bgcolor] (.75\paperwidth,-\cv@h@andromede-1.75) -- (.72\paperwidth,-\cv@h@andromede-2.25) -- (.82\paperwidth,-\cv@h@andromede-2.25) -- (.85\paperwidth,-\cv@h@andromede-1.75); + % trapèze haut droite + \fill[\cmdPAS@bg@bordercolor] (23,-\cv@h@andromede-1.75) -- (.85\paperwidth,-\cv@h@andromede-1.75) -- (.82\paperwidth,-\cv@h@andromede-2.25) -- (0,-\cv@h@andromede-2.25) -- (0,-\cv@h@andromede-2.5) -- (23,-\cv@h@andromede-2.5) -- cycle; + % dégradé 4 + \fill[draw=white,left color=\cmdPAS@bg@bgcolor!30,right color=white] (0,-\cv@h@andromede-2.5) -- (\paperwidth,-\cv@h@andromede-2.5) -- (\paperwidth,-\cv@h@andromede-3) -- (4,-\cv@h@andromede-3) .. controls (2,-\cv@h@andromede-3) and (1,-\cv@h@andromede-3.5) .. (0,-\cv@h@andromede-5) -- cycle; + % Photo + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node[above right] (photo) at (1.4,-\cv@h@andromede-2.25) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[above right,draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] (photo) at (1.4,-\cv@h@andromede-2.25) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \node[color=\cmdPAS@bg@postecolor,above left] at (21,-\cv@h@andromede) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@andromede[1]{% + \AddToShipoutPicture{% + \begin{tikzpicture} + \clip (0,0) rectangle+(\paperwidth,-\paperheight); + \ifx\cmdPAS@bg@pic\@empty% + \coordinate (infoLeft) at (1.5,-\cv@h@andromede+.5); + \else + \coordinate (infoLeft) at ($(photo.north east)+(0.25,0)$); + \fi + \node[below right] at (infoLeft){\begin{minipage}{15cm}#1\end{minipage}}; + \end{tikzpicture} + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@andromede[1]{% + \AddToShipoutPicture + {% + \FPeval\resultat{clip(round(842-28.346456693*(\cv@h@andromede+4.55),2))} + \put(\LenToUnit{0pt},\LenToUnit{\resultat pt}) + { + \begin{minipage}{\paperwidth} \begin{flushright}#1\end{flushright} + \end{minipage} + } + } +} + +%=============== TITRE =============== +\newcommand*\title@andromede[1]{% + \noindent + \begin{tikzpicture} + \fill[\cmdPAS@title@bordercolor] (0,0) -- (.25,.25) -- (.75,.25) -- (.75,0) -- cycle; + \node[right,text=\cmdPAS@title@color] at (1,0.1) {#1}; + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@andromede{% +\FPeval\result{clip(\cv@h@andromede+3.5)} +\newgeometry{tmargin=\result cm,bmargin=2cm,lmargin=1.7cm,rmargin=1.5cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@andromede{% + % dégradé bas + \fill[draw=white,right color=\cmdPAS@bg@bgcolor!30,left color=white] (22,-28) -- (0,-28) -- (0,-27.5) -- (18,-27.5) .. controls (20,-27.5) and (21,-27) .. (22,-25.5) -- cycle; + % traits verticaux à gauche + \draw[\cmdPAS@bg@bordercolor] (1,0) -- (1,-\paperheight); + \draw[gray] (1.25,0) -- (1.25,-\paperheight); +} +\newcommand*\clearmargins@andromede{% + \newgeometry{tmargin=1.5cm,bmargin=2cm,lmargin=1.7cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-architecte.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-architecte.tex new file mode 100644 index 00000000000..b156686667f --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-architecte.tex @@ -0,0 +1,91 @@ +\def\modele@architecte{architecte} +\def\cv@h@architecte{4} + +% =============== FOND =============== +\newcommand*\fond@architecte{% + \fill[color=\cmdPAS@bg@bgcolor!70] (0,-\cv@h@architecte-.3) rectangle +(\paperwidth,-2); + \fill[color=\cmdPAS@bg@bgcolor] (.4\paperwidth,-\cv@h@architecte-2.3) -- (.7\paperwidth,0) -- (.56\paperwidth,-\cv@h@architecte-2.3) -- cycle; + \fill[color=\cmdPAS@bg@bgcolor] (.5\paperwidth,-\cv@h@architecte-2.3) -- (.7\paperwidth,-\cv@h@architecte+1) -- (.6\paperwidth,-\cv@h@architecte-2.3) -- cycle; + \fill[color=\cmdPAS@bg@bgcolor] (.88\paperwidth,-\cv@h@architecte-2.3) -- (.93\paperwidth,-\cv@h@architecte-1.2) -- (.9\paperwidth,-\cv@h@architecte-2.3) -- cycle; + \fill[color=\cmdPAS@bg@bgcolor] (.92\paperwidth,-\cv@h@architecte-2.3) -- (.97\paperwidth,-\cv@h@architecte-1.5) -- (.94\paperwidth,-\cv@h@architecte-2.3) -- cycle; + % bas + \fill[color=\cmdPAS@bg@bgcolor] (.92\paperwidth,-\paperheight) -- (.85\paperwidth,-.95\paperheight) -- (.89\paperwidth,-\paperheight) -- cycle; + % + \fill[left color=\cmdPAS@bg@bordercolor,right color=white] (0,-\cv@h@architecte-2.3) rectangle +(\paperwidth,.3); + \fill[right color=\cmdPAS@bg@bordercolor,left color=white] (0,-\cv@h@architecte-2.3) rectangle +(\paperwidth,-.3); + \fill[color=white] (.1,-\cv@h@architecte) rectangle +(.15,-2.6); + \draw[white,very thick] (.35,-\cv@h@architecte) -- (.35,-\cv@h@architecte-2.6); + \draw[white,thin] (.45,-\cv@h@architecte) -- (.45,-\cv@h@architecte-2.6); + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node[below right,inner sep=1pt] at (1,-\cv@h@architecte+1.5) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[below right,draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] at (1,-\cv@h@architecte+1.5) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \node[right,color=\cmdPAS@bg@postecolor] at (5,-\cv@h@architecte-1.3) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@architecte[1]{% + \AddToShipoutPicture + {% + \ifx\cmdPAS@bg@pic\@empty + \put(\LenToUnit{0.5cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + \else + \put(\LenToUnit{3.5cm},\LenToUnit{.97\paperheight}) + {% + \rlap + { + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + \fi + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@architecte[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{\paperwidth},\LenToUnit{\paperheight}){% + \llap{% + \begin{minipage}[t]{.6\paperwidth} + \begin{flushright}\vskip 2mm #1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@architecte[1]{% + \begin{tikzpicture} + \filldraw[color=\cmdPAS@title@bordercolor!50,draw=white] (.25,-.25) -- (1.25,.25) -- (.25,-.75) -- cycle; + \node[right,text=\cmdPAS@title@color] (title) at (1,0) {\scshape\bfseries\Large #1}; + \fill[color=\cmdPAS@title@bordercolor] ($(title.north west)+(0,-.1)$) -- ($(title.south west)+(0,.1)$) -- ($(title.south west)+(-.2,.1)$) -- ($(title.north west)+(-.2,-.1)$) -- cycle; + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@architecte{% +\FPeval\result{clip(\cv@h@architecte+3)} +\newgeometry{tmargin=\result cm,bmargin=1.5cm,lmargin=1.5cm,rmargin=1.5cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@architecte{% + \fill[color=\cmdPAS@bg@bgcolor] (.92\paperwidth,-\paperheight) -- (.85\paperwidth,-.95\paperheight) -- (.89\paperwidth,-\paperheight) -- cycle; +} +\newcommand*\clearmargins@architecte{% + \newgeometry{tmargin=2cm,bmargin=1.5cm,lmargin=1.5cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-centaure.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-centaure.tex new file mode 100644 index 00000000000..3dd7b621183 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-centaure.tex @@ -0,0 +1,114 @@ +\def\modele@centaure{centaure} +\def\cv@h@centaure{4} + +% =============== FOND =============== +\newcommand*\fond@centaure{% + % rayons + \begin{scope}[xshift=3cm,yshift=-0.5*\cv@h@centaure cm] + \foreach \a in {0,5,...,355} + { + \pgfmathparse{10*cos(\a)}\let\x\pgfmathresult + \pgfmathparse{10*sin(\a)}\let\y\pgfmathresult + \draw[gray!50,opacity=.25] (0,0) -- (\x,\y); + } + \end{scope} + % Photo + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node at (3,-.5*\cv@h@centaure) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] at (3,-.5*\cv@h@centaure) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + % Cercles + \fill[\cmdPAS@bg@bgcolor] (12,-\cv@h@centaure-2) circle (1cm); + \fill[\cmdPAS@bg@bgcolor!50] (13,-\cv@h@centaure) circle (.75cm); + \fill[\cmdPAS@bg@bgcolor] (13.75,-\cv@h@centaure) circle (.5cm); + \fill[\cmdPAS@bg@bordercolor] (10,-\cv@h@centaure) circle (.5cm); + \fill[\cmdPAS@bg@bgcolor!50] (22,-\cv@h@centaure) circle (1.5cm); + \fill[\cmdPAS@bg@bordercolor!50] (15,-\cv@h@centaure+.5) circle (.25cm); + \fill[\cmdPAS@bg@bgcolor] (12.5,-\cv@h@centaure+1.5) circle (.2cm); + % Rectangle + \shade[inner color=\cmdPAS@bg@bgcolor!20,outer color=\cmdPAS@bg@bgcolor] (0,-\cv@h@centaure) rectangle+(\paperwidth,-2); + % Cercles + \fill[\cmdPAS@bg@bordercolor] (17,-\cv@h@centaure-1.9) circle (.25cm); + \fill[\cmdPAS@bg@bgcolor!50] (19,-\cv@h@centaure-2.5) circle (.2cm); + % Figure libre + \fill[color=black,opacity=.5] (1,-\cv@h@centaure-.3) -- (6.1,-\cv@h@centaure-.3) .. controls (6.1,-\cv@h@centaure-.4) and (5.1,-\cv@h@centaure-1.1) .. (5.1,-\cv@h@centaure-1.7) -- (1,-\cv@h@centaure-1.7) -- cycle; + \filldraw[draw=white,thick,left color=white,right color=\cmdPAS@bg@bordercolor] (0,-\cv@h@centaure-.2) -- (6,-\cv@h@centaure-.2) .. controls (6,-\cv@h@centaure-.3) and (5,-1-\cv@h@centaure) .. (5,-1.8-\cv@h@centaure) -- (0,-1.8-\cv@h@centaure) -- cycle; + \fill[white] (3,-\cv@h@centaure-.5) circle (.2cm); + \fill[white,opacity=.2] (4,-1-\cv@h@centaure) circle (.4cm); + % Traits horizontaux + \draw[very thick,white] (0,-.2-\cv@h@centaure) -- (\paperwidth,-.2-\cv@h@centaure); + \draw[very thick,white] (0,-1.8-\cv@h@centaure) -- (\paperwidth,-1.8-\cv@h@centaure); + % Poste + \node[color=black,right,opacity=.5] at (7.05,-1.05-\cv@h@centaure) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; + \node[color=\cmdPAS@bg@postecolor,right] at (7,-1-\cv@h@centaure) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; + % bas + \fill[\cmdPAS@bg@bgcolor!50] (21,-27.5) circle (1cm); + \fill[\cmdPAS@bg@bordercolor] (19.5,-27) circle (.35cm); + \fill[\cmdPAS@bg@bgcolor!75] (20,-26.5) circle (.15cm); + \fill[\cmdPAS@bg@bgcolor] (0,-26.85) rectangle+(\paperwidth,-.3); + \shade[right color=\cmdPAS@bg@bgcolor,left color=\cmdPAS@bg@bgcolor!20] (14,-26.85) rectangle+(10,-.3); + \shade[left color=\cmdPAS@bg@bgcolor,right color=\cmdPAS@bg@bgcolor!20] (0,-26.85) rectangle+(14,-.3); +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@centaure[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{5cm},\LenToUnit{.97\paperheight}) + {% + \rlap + {% + \begin{minipage}[t]{10cm} + #1 + \end{minipage} + } + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@centaure[1]{% + \AddToShipoutPicture + {% + \put(\LenToUnit{.95\paperwidth},\LenToUnit{.97\paperheight}){% + \llap{% + \begin{minipage}[t]{.45\paperwidth} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@centaure[1]{% + \noindent + \begin{tikzpicture} + \foreach \a in {0,10,...,350} + { + \draw[\cmdPAS@title@bordercolor] (0,0) -- ({.25*cos(\a)},{.25*sin(\a)}); + } + \node[text=\cmdPAS@title@color,right] at (.5,0) {#1}; + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@centaure{ +\FPeval\result{clip(\cv@h@centaure+3.5)} +\newgeometry{tmargin=\result cm,bmargin=2.5cm,lmargin=1.5cm,rmargin=1.5cm}} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@centaure{% + \fill[\cmdPAS@bg@bgcolor!50] (21,-27.5) circle (1cm); + \fill[\cmdPAS@bg@bordercolor] (19.5,-27) circle (.35cm); + \fill[\cmdPAS@bg@bgcolor!75] (20,-26.5) circle (.15cm); + \fill[\cmdPAS@bg@bgcolor] (0,-26.85) rectangle+(\paperwidth,-.3); + \shade[right color=\cmdPAS@bg@bgcolor,left color=\cmdPAS@bg@bgcolor!20] (14,-26.85) rectangle+(10,-.3); + \shade[left color=\cmdPAS@bg@bgcolor,right color=\cmdPAS@bg@bgcolor!20] (0,-26.85) rectangle+(14,-.3); +} +\newcommand*\clearmargins@centaure{% + \newgeometry{tmargin=1.5cm,bmargin=2.5cm,lmargin=1.5cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-dynamique.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-dynamique.tex new file mode 100644 index 00000000000..7de2146c1e6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-dynamique.tex @@ -0,0 +1,69 @@ +\def\modele@dynamique{dynamique} +\def\cv@h@dynamique{5} + +% =============== FOND =============== +\newcommand*\fond@dynamique{% + % traits verticaux + \draw[color=\cmdPAS@bg@bordercolor] (0,-\cv@h@dynamique) -- (\paperwidth,-\cv@h@dynamique); + \draw[color=\cmdPAS@bg@bordercolor!50,very thick] (0,-\cv@h@dynamique-1) -- (\paperwidth,-\cv@h@dynamique-1); + % bande oscillante + \filldraw[left color=\cmdPAS@bg@bgcolor,right color=white,draw=white] (0,-2.1-\cv@h@dynamique) .. controls (10,-3.1-\cv@h@dynamique) and (15,-1.1-\cv@h@dynamique) .. (\paperwidth,-1.1-\cv@h@dynamique) -- (\paperwidth,-1.6-\cv@h@dynamique) .. controls (15,-1.6-\cv@h@dynamique) and (10,-3.6-\cv@h@dynamique) .. (0,-2.6-\cv@h@dynamique) -- cycle; + % Poste + \node[right,color=\cmdPAS@bg@postecolor] at (1,-.5-\cv@h@dynamique) {\scshape\bfseries\cmdPAS@bg@postesize\cmdPAS@bg@poste}; + \clip (0,-2.1-\cv@h@dynamique) .. controls (10,-3.1-\cv@h@dynamique) and (15,-1.1-\cv@h@dynamique) .. (\paperwidth,-1.1-\cv@h@dynamique) -- (\paperwidth,0) -- (0,0) -- cycle; + % Photo + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node[above] at (.9\paperwidth,-1.5-\cv@h@dynamique) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[above,draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] at (.9\paperwidth,-1.5-\cv@h@dynamique) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@dynamique[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{1cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@dynamique[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{.95\paperwidth},\LenToUnit{.97\paperheight}){% + \llap{% + \begin{minipage}[t]{.5\paperwidth} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@dynamique[1]{% + \begin{tikzpicture} + \node[right,fill=\cmdPAS@title@color,draw=\cmdPAS@title@color] (titre) {\scshape\bfseries\Large #1}; + \fill[color=\cmdPAS@title@bordercolor] ($(titre.north west)+(.01,0)$) -- ($(titre.south west)+(.01,-.01)$) -- ($(titre.south west)+(-.5,-.01)$) -- ($(titre.north west)+(-.5,0)$) -- cycle; + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@dynamique{% +\FPeval\result{clip(\cv@h@dynamique+4)} +\newgeometry{tmargin=\result cm,bmargin=1.5cm,lmargin=1cm,rmargin=1cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearmargins@dynamique{% + \newgeometry{tmargin=2cm,bmargin=1.5cm,lmargin=1cm,rmargin=1cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-gaia.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-gaia.tex new file mode 100644 index 00000000000..65801e4af4d --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-gaia.tex @@ -0,0 +1,78 @@ +\def\modele@gaia{gaia} +\def\cv@h@gaia{2} + +% =============== FOND =============== +\newcommand*\fond@gaia{% + \fill[left color=black,right color=\cmdPAS@bg@bgcolor] (0,-\cv@h@gaia) rectangle+(7,-3); + \fill[left color=black,right color=\cmdPAS@bg@bgcolor] (0,-28) rectangle+(23,1); + \draw[\cmdPAS@bg@bordercolor,very thick] (7,0) -- (7,-30); + \fill[right color=black,left color=\cmdPAS@bg@bgcolor] (11,-\cv@h@gaia) rectangle+(13,-3); + \ifx\cmdPAS@bg@pic\@empty% + \else + \node (photo) at (9,-\cv@h@gaia-1.5) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \foreach \d/\c in {0.2/10,0.15/30,0.1/50,0.05/70} + { + \fill[black!\c] ($(photo.north west)+(\d,-\d)+(0.07,-0.15)$) rectangle ($(photo.south east)+(\d,-\d)+(0.05,0)$); + } + \ifx\cmdPAS@bg@borderpic\@empty + \node at (9,-\cv@h@gaia-1.5) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] at (9,-\cv@h@gaia-1.5) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \node[color=\cmdPAS@bg@postecolor,right] at (11.5,-\cv@h@gaia-1.5) {\begin{minipage}{8cm}\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste\end{minipage}}; +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@gaia[1]{% + \AddToShipoutPicture{% + \begin{tikzpicture} + \clip (0,0) rectangle+(\paperwidth,-\paperheight); + \node[below left,minimum height=3cm] at (6.7,-\cv@h@gaia-.2){ + \begin{minipage}{5.5cm} + \begin{flushright}#1\end{flushright} + \end{minipage} + }; + \end{tikzpicture} + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@gaia[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{0.5cm},\LenToUnit{1.5cm}){% + \begin{minipage}[b]{6cm} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } +} + +%=============== TITRE =============== +\newcommand*\title@gaia[1]{% + \noindent + \begin{tikzfadingfrompicture}[name=title] + \node[text=transparent!20] {#1}; + \end{tikzfadingfrompicture} + \begin{minipage}{9cm} + \begin{tikzpicture} + \node[inner sep=0cm] (textbox) {\phantom{#1}}; + \shadedraw[path fading=title,fit fading=false,left color=\cmdPAS@title@bordercolor,right color=\cmdPAS@title@color,right] (textbox.south west) rectangle (textbox.north east); + \draw[\cmdPAS@title@bordercolor,very thick] ($(textbox.south east)+(.1,.1)$) -- ($(textbox.south east)+(15,.1)$); + \end{tikzpicture} + \end{minipage} +} + +%=============== MARGES =============== +\newcommand*\margins@gaia{% +\FPeval\result{clip(\cv@h@gaia+3.5)} +\newgeometry{tmargin=\result cm,bmargin=2.5cm,lmargin=7.5cm,rmargin=1.5cm}} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@gaia{% + \fill[left color=black,right color=\cmdPAS@bg@bgcolor] (0,-28) rectangle+(23,1); + \draw[\cmdPAS@bg@bordercolor,very thick] (7,0) -- (7,-30); +} +\newcommand*\clearmargins@gaia{% + \newgeometry{tmargin=1cm,bmargin=2.5cm,lmargin=7.5cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-jupiter.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-jupiter.tex new file mode 100644 index 00000000000..612fb931ed1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-jupiter.tex @@ -0,0 +1,77 @@ +\def\modele@jupiter{jupiter} +\def\cv@h@jupiter{4} + +% =============== FOND =============== +\newcommand*\fond@jupiter{% + \fill[left color=\cmdPAS@bg@bgcolor!20, right color=\cmdPAS@bg@bgcolor] (0,-\cv@h@jupiter) rectangle +(.3\paperwidth,-2); + \fill[pattern=crosshatch dots,pattern color=\cmdPAS@bg@bgcolor!50] (0,-\cv@h@jupiter) rectangle +(.3\paperwidth,-2); + \draw[color=\cmdPAS@bg@bgcolor,double,very thick] (9,0) arc (120:220:15cm and 23cm); + \fill[left color=\cmdPAS@bg@bordercolor,right color=white] (0,-\cv@h@jupiter-2.2) rectangle +(\paperwidth,-.3); + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node[below,rectangle,thick,inner sep=1pt] at (2,-\cv@h@jupiter-1) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[below,rectangle,draw=\cmdPAS@bg@borderpic,thick,inner sep=1pt] at (2,-\cv@h@jupiter-1) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \clip (\paperwidth,-\paperheight) -- (\paperwidth,0) -- (9,0) arc (120:220:14.6cm and 22.6cm) -- cycle; + \fill[left color=\cmdPAS@bg@bgcolor!50, right color=white] (.1\paperwidth,-\cv@h@jupiter) rectangle +(.9\paperwidth,-2); + \fill[pattern=crosshatch dots,pattern color=\cmdPAS@bg@bgcolor!50] (.1\paperwidth,-\cv@h@jupiter) rectangle +(.9\paperwidth,-2); + \draw[color=\cmdPAS@bg@bgcolor!10,double,very thick] (9.5,0) arc (120:220:15cm and 23cm); + \node[above right,color=\cmdPAS@bg@postecolor] (poste) at (.5\textwidth,-\cv@h@jupiter-1.5) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; + \draw[very thick,color=\cmdPAS@bg@postecolor] ($(poste.south east)+(0,.1)$) -- ($(poste.south west)+(-5,.1)$); +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@jupiter[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{0.5cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@jupiter[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{.97\paperwidth},\LenToUnit{.97\paperheight}){% + \llap{% + \begin{minipage}[t]{.6\paperwidth} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@jupiter[1]{% + \tikzfading[name=fade out,inner color=transparent!0,outer color=transparent!100] + \begin{tikzpicture} + \fill[\cmdPAS@title@color] (0,0) circle (1mm); + \node[right,text=\cmdPAS@title@color] (title) at (0.3,0) {\bfseries\scshape #1}; + \fill[path fading=fade out,\cmdPAS@title@bordercolor] ($(title.south west)+(-.8,0)$) rectangle ($(title.south east)+(0.3,-.1)$); + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@jupiter{% +\FPeval\result{clip(\cv@h@jupiter+3)} +\newgeometry{tmargin=\result cm,bmargin=1.5cm,lmargin=4cm,rmargin=1.5cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@jupiter{% + \draw[color=\cmdPAS@bg@bgcolor,double,very thick] (9,0) arc (120:220:15cm and 23cm); + \draw[color=\cmdPAS@bg@bgcolor!10,double,very thick] (9.5,0) arc (120:220:15cm and 23cm); + +} +\newcommand*\clearmargins@jupiter{% + \newgeometry{tmargin=2cm,bmargin=1.5cm,lmargin=1.5cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-mars.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-mars.tex new file mode 100644 index 00000000000..c00b7958425 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-mars.tex @@ -0,0 +1,78 @@ +\def\modele@mars{mars} +\def\cv@h@mars{4} + +% =============== FOND =============== + +\newcommand*\fond@mars{% + \fill[left color=gray,right color=white] (2.5,0) rectangle+(-.5,-\paperheight); + \fill[bottom color=\cmdPAS@bg@bordercolor,top color=white] (0,0) rectangle+(2,-\paperheight); + \filldraw[fill=white,draw=\cmdPAS@bg@bgcolor,very thick] (-1,-\cv@h@mars) rectangle+(23,-.25); + \filldraw[fill=white,draw=\cmdPAS@bg@bgcolor,very thick] (-1,-\cv@h@mars-.25) rectangle+(23,-.35); + \fill[\cmdPAS@bg@bgcolor] (0,-\cv@h@mars-.6) rectangle+(\paperwidth,-1.5); + \filldraw[fill=white,draw=\cmdPAS@bg@bgcolor,very thick] (-1,-\cv@h@mars-2.1) rectangle+(23,-.25); + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node[below] at (2,-1) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[below,draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] (photo) at (2,-1) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \node[color=\cmdPAS@bg@postecolor,left] (poste) at (.95\paperwidth,-\cv@h@mars-1.35) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; + \fill[white] (poste.east) circle (.75cm); + \fill[white] (poste.west) circle (.75cm); + \fill[white] ($(poste.west)+(0,.8)$) rectangle ($(poste.east)+(0,-.8)$); + \node[color=\cmdPAS@bg@postecolor,left] at (.95\paperwidth,-\cv@h@mars-1.35) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@mars[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{4cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@mars[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{.97\paperwidth},\LenToUnit{.97\paperheight}){% + \llap{% + \begin{minipage}[t]{.5\paperwidth} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@mars[1]{% + \noindent + \begin{tikzpicture} + \draw[\cmdPAS@title@bordercolor,very thick] (0,0) -- (\paperwidth,0); + \node[above right,text=\cmdPAS@title@color] at (3,0) {\scshape\bfseries #1}; + \filldraw[draw=\cmdPAS@title@bordercolor,fill=white] (2,0) circle (.5cm); + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@mars{% +\FPeval\result{clip(\cv@h@mars+3)} +\newgeometry{tmargin=\result cm,bmargin=2cm,lmargin=0cm,rmargin=0cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@mars{% + \fill[left color=gray,right color=white] (2.5,0) rectangle+(-.5,-\paperheight); + \fill[bottom color=\cmdPAS@bg@bordercolor,top color=white] (0,0) rectangle+(2,-\paperheight); +} +\newcommand*\clearmargins@mars{% + \newgeometry{tmargin=2cm,bmargin=2cm,lmargin=0cm,rmargin=0cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-neptune.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-neptune.tex new file mode 100644 index 00000000000..7721802cd6f --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-neptune.tex @@ -0,0 +1,85 @@ +\def\modele@neptune{neptune} +\def\cv@h@neptune{4} + +% =============== FOND =============== +\newcommand*\fond@neptune{% + % Colonne du milieu + \fill[top color=\cmdPAS@bg@bgcolor!30,bottom color=white] ($(.5\paperwidth,0)+(-1,0)$) rectangle+(2,-\paperheight); + % Rectangle haut + \fill[\cmdPAS@bg@bgcolor] (0,-\cv@h@neptune) rectangle+(\paperwidth,-2.5); + \foreach \x in {.5,1,...,30} + { + \draw[color=\cmdPAS@bg@bgcolor!40!white,opacity=.5] (\x,-\cv@h@neptune) -- (\x,-\cv@h@neptune-2.5); + } + \foreach \y in {-4.5,-5,...,-6} + { + \draw[color=\cmdPAS@bg@bgcolor!40!white,opacity=.5] (0,\y) -- (30,\y); + } + \fill[\cmdPAS@bg@bordercolor] (0,-\cv@h@neptune-1.75) rectangle+(\paperwidth,-.5); + \fill[\cmdPAS@bg@bgcolor!30!white] (0,-\cv@h@neptune-1.75) rectangle +(\paperwidth,.05); + \fill[opacity=.8,color=\cmdPAS@bg@bgcolor!30!white] (.7\paperwidth,-\cv@h@neptune-2.5) .. controls (.9\paperwidth,-\cv@h@neptune-2) and (.9\paperwidth,-\cv@h@neptune-1) .. (.95\paperwidth,-\cv@h@neptune) -- (\paperwidth,-\cv@h@neptune) -- (\paperwidth,-\cv@h@neptune-2.5) -- cycle; + \fill[opacity=.8,color=\cmdPAS@bg@bgcolor!30!white] (.1\paperwidth,-\cv@h@neptune-2.5) .. controls (.1\paperwidth,-\cv@h@neptune-2) and (.15\paperwidth,-\cv@h@neptune-1) .. (.25\paperwidth,-\cv@h@neptune) -- (.05\paperwidth,-\cv@h@neptune) -- (.05\paperwidth,-\cv@h@neptune-2.5) -- cycle; + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node (photo) at (.08\paperwidth,-\cv@h@neptune-1.25) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] (photo) at (.08\paperwidth,-\cv@h@neptune-1.25) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \node[color=\cmdPAS@bg@postecolor] at (.54\paperwidth,-\cv@h@neptune-1) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; + \fill[\cmdPAS@bg@bgcolor] (0,-.94\paperheight) rectangle+(\paperwidth,-.01); +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@neptune[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{1cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@neptune[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{.97\paperwidth},\LenToUnit{.97\paperheight}){% + \llap{% + \begin{minipage}[t]{.5\paperwidth} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@neptune[1]{% + \noindent + \begin{tikzpicture} + \node[text=\cmdPAS@title@color] (title) {\scshape\bfseries #1}; + \fill[left color=\cmdPAS@title@bordercolor,right color=white] ($(title.south)+(0,-.1)$) rectangle+(4,-.025); + \fill[right color=\cmdPAS@title@bordercolor,left color=white] ($(title.south)+(0,-.1)$) rectangle+(-4,-.025); + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@neptune{% +\FPeval\result{clip(\cv@h@neptune+3)} +\newgeometry{tmargin=\result cm,bmargin=2cm,lmargin=1.5cm,rmargin=1.5cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@neptune{% + % Colonne du milieu + \fill[top color=\cmdPAS@bg@bgcolor!30,bottom color=white] ($(.5\paperwidth,0)+(-1,0)$) rectangle+(2,-\paperheight); + \fill[\cmdPAS@bg@bgcolor] (0,-.94\paperheight) rectangle+(\paperwidth,-.01); +} +\newcommand*\clearmargins@neptune{% + \newgeometry{tmargin=2cm,bmargin=2cm,lmargin=1.5cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-orion.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-orion.tex new file mode 100644 index 00000000000..840796fe34f --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-orion.tex @@ -0,0 +1,78 @@ +\def\modele@orion{orion} +\def\cv@h@orion{4} + +% =============== FOND =============== +\newcommand*\fond@orion{% + % rectangle gauche + \fill[right color=white,left color=gray] (.41\paperwidth,-1) rectangle (.39\paperwidth,-26.5); + % Ombre rectangle gauche + \fill[left color=white,right color=\cmdPAS@bg@bordercolor] (.4\paperwidth,-.5) rectangle (.2\paperwidth,-27); + % rectangle haut + \fill[bottom color=\cmdPAS@bg@bgcolor!30,top color=\cmdPAS@bg@bgcolor] (0,-\cv@h@orion) rectangle+(\paperwidth,-1); + \fill[top color=\cmdPAS@bg@bgcolor!30,bottom color=\cmdPAS@bg@bgcolor] (0,-1-\cv@h@orion) rectangle+(\paperwidth,-1); + \draw[very thick,\cmdPAS@bg@bgcolor!10] (0,-.9-\cv@h@orion) -- (\paperwidth,-.9-\cv@h@orion); + \fill[\cmdPAS@bg@bgcolor!50,opacity=.70] (6,-1-\cv@h@orion) circle[x radius=5cm,y radius=1.5cm]; + \fill[\cmdPAS@bg@bgcolor!30,opacity=.80] (6,-1-\cv@h@orion) circle[x radius=4cm,y radius=1.3cm]; + \fill[\cmdPAS@bg@bgcolor!50,opacity=.70] (6,-1-\cv@h@orion) circle[x radius=2.5cm,y radius=.8cm]; + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node at (6,-1-\cv@h@orion) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] at (6,-1-\cv@h@orion) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \node[color=\cmdPAS@bg@postecolor,above] at (16.5,-1-\cv@h@orion) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@orion[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{1cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@orion[1]{% + \AddToShipoutPicture + {% + \put(\LenToUnit{.97\paperwidth},\LenToUnit{.97\paperheight}){% + \llap{% + \begin{minipage}[t]{.5\paperwidth} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@orion[1]{% + \noindent + \begin{tikzpicture} + \node[text=\cmdPAS@title@bordercolor,scale=1.5] (coche) {$\surd$}; + \node[text=\cmdPAS@title@color,right] at (coche.east) {#1}; + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@orion{% +\FPeval\result{clip(\cv@h@orion+3)} +\newgeometry{tmargin=\result cm,bmargin=2cm,lmargin=1cm,rmargin=1.5cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@orion{% + \fill[right color=white,left color=gray] (.41\paperwidth,-1) rectangle (.39\paperwidth,-26.5); + \fill[left color=white,right color=\cmdPAS@bg@bordercolor] (.4\paperwidth,-.5) rectangle (.2\paperwidth,-27); +} +\newcommand*\clearmargins@orion{% + \newgeometry{tmargin=1.5cm,bmargin=2cm,lmargin=1cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-pegase.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-pegase.tex new file mode 100644 index 00000000000..4fac2cfbbe1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-pegase.tex @@ -0,0 +1,101 @@ +\def\modele@pegase{pegase} +\def\cv@h@pegase{2} + +% =============== FOND =============== +\newcommand*\fond@pegase{% + % dégradé à droite + \fill[left color=white,right color=\cmdPAS@bg@bordercolor!10] (16,-6) rectangle+(6,-20); + \draw[very thick,gray] (15,-6) -- (15,-27); + % rectangle plein haut + \fill[left color=\cmdPAS@bg@bgcolor,right color=\cmdPAS@bg@bordercolor] (0,-\cv@h@pegase) rectangle+(\paperwidth,-2); + \fill[\cmdPAS@bg@bordercolor] (0,-2-\cv@h@pegase) -- (\paperwidth,-2-\cv@h@pegase) -- (\paperwidth,-3-\cv@h@pegase) -- (.55\paperwidth,-3-\cv@h@pegase) -- (.5\paperwidth,-4-\cv@h@pegase) -- (0,-4-\cv@h@pegase) -- cycle; + % dégradé gauche + \fill[right color=white,left color=\cmdPAS@bg@bordercolor!10] (0,0) rectangle+(1.5,-30); + % liseret à droite + \draw[very thick,gray] (1.5,0) -- (1.5,-30); + % rectangle bas + \fill[\cmdPAS@bg@bgcolor] (0,-27) rectangle+(\paperwidth,2); + \draw[very thick,gray] (0,-27) -- (\paperwidth,-27); + \fill[left color=\cmdPAS@bg@bordercolor!10,right color=\cmdPAS@bg@bordercolor!40] (0,-24) -- (.5\paperwidth,-24) -- (.55\paperwidth,-24.75) -- (\paperwidth,-24.75) -- (\paperwidth,-25) -- (0,-25) -- cycle; + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node[right] (photo) at (1.7,-2-\cv@h@pegase) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[right,draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] (photo) at (1.7,-2-\cv@h@pegase) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \node[color=\cmdPAS@bg@postecolor,above left] at (21,-2-\cv@h@pegase) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; + \node[color=\cmdPAS@bg@postecolor!50!\cmdPAS@bg@bordercolor,above left,yscale=-1,scope fading=south,opacity=.4] at (21,-1.9-\cv@h@pegase) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; + +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@pegase[1]{% + \AddToShipoutPicture + {% + \put(\LenToUnit{1.7cm},\LenToUnit{.97\paperheight}) + {% + \rlap{\begin{minipage}[t]{\paperwidth}#1\end{minipage}} + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@pegase[1]{% + \AddToShipoutPicture{% + \AtPageLowerLeft + {% + \begin{tikzpicture} + \ifx\cmdPAS@bg@pic\@empty% + \coordinate (cadre) at (1.7,-3.25); + \else + \coordinate (cadre) at ($(photo.east)+(.3,-.2)$); + \fi + \clip (0,0) rectangle+(\paperwidth,-\paperheight); + \node[below right] at (cadre){ + \begin{minipage}{10cm} + #1 + \end{minipage}}; + \end{tikzpicture} + } + } +} + +%=============== TITRE =============== +\newcommand*\title@pegase[1]{% + \noindent + \begin{tikzpicture} + \foreach \i/\c in {0.09/10,0.08/20,0.07/30,0.06/40,0.05/50,0.04/60,0.03/70,0.02/80,0.01/90,0/100} + { + \fill[black!\c] (\i,-\i) rectangle+(0.5,-0.5); + } + \fill[\cmdPAS@title@bordercolor] (-.1,.1) rectangle+(.5,-.5); + \fill[white] (0,0) rectangle+(.5,-.5); + \node[right,text=\cmdPAS@title@color] at (7mm,-2mm) {\scshape\bfseries #1}; + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@pegase{% +\FPeval\result{clip(\cv@h@pegase+5)} +\newgeometry{tmargin=\result cm,bmargin=1.3cm,lmargin=1.2cm,rmargin=1.5cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@pegase{% + % dégradé à droite + \fill[left color=white,right color=\cmdPAS@bg@bordercolor!10] (16,0) rectangle+(6,-30); + \draw[very thick,gray] (15,0) -- (15,-30); + % dégradé à gauche + \fill[right color=white,left color=\cmdPAS@bg@bordercolor!10] (0,0) rectangle+(1.5,-30); + \draw[very thick,gray] (1.5,0) -- (1.5,-30); + % rectangle en bas + \draw[very thick,gray] (0,-27) -- (\paperwidth,-27); + \fill[left color=\cmdPAS@bg@bordercolor!10,right color=\cmdPAS@bg@bordercolor!40] (0,-24) -- (.5\paperwidth,-24) -- (.55\paperwidth,-24.75) -- (\paperwidth,-24.75) -- (\paperwidth,-25) -- (0,-25) -- cycle; + \draw[very thick,gray] (0,-27) -- (\paperwidth,-27); + \fill[\cmdPAS@bg@bgcolor] (0,-27) rectangle+(\paperwidth,2); +} +\newcommand*\clearmargins@pegase{% + \newgeometry{tmargin=2cm,bmargin=2cm,lmargin=1.2cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-pluton.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-pluton.tex new file mode 100644 index 00000000000..11ad8e8b7f7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-pluton.tex @@ -0,0 +1,102 @@ +\def\modele@pluton{pluton} +\def\cv@h@pluton{5} + +% =============== FOND =============== +\newcommand*\fond@pluton{% + \fill[bottom color=\cmdPAS@bg@bgcolor!20,top color=white] (0,0) rectangle+(\paperwidth,-\cv@h@pluton); + \draw[\cmdPAS@bg@bgcolor] (0,-\cv@h@pluton) -- (\paperwidth,-\cv@h@pluton); + \draw[\cmdPAS@bg@bgcolor!50,very thick] (.8\paperwidth,-2) circle (5mm); + \fill[\cmdPAS@bg@bgcolor!20] ($(.8\paperwidth,-2)+(8mm,8mm)$) circle (2mm); + \fill[\cmdPAS@bg@bgcolor!40] (0,0) ellipse[x radius=9cm,y radius=13cm];%5 & 8 + \foreach \rx/\ry/\c in {8.7/12.7/10,8.66/12.66/30,8.62/12.62/50,8.58/12.58/70,8.54/12.54/90} + { + \fill[fill=black!\c!\cmdPAS@bg@bgcolor!40] (0,0) ellipse[x radius=\rx cm,y radius=\ry cm]; + } + \fill[white] (0,0) ellipse[x radius=8.5cm,y radius=12.5cm]; + \fill[\cmdPAS@bg@bgcolor!20] (3,-25) circle (3cm); + \fill[white] (3,-25) circle (2.5cm); + \fill[\cmdPAS@bg@bgcolor!30] (2.2,-17) circle (.7cm); + \fill[white] (2.2,-17) circle (0.6cm); + \draw[very thick,\cmdPAS@bg@bgcolor!50] (1cm,0) -- (1cm,-\paperheight); + \draw[very thick,\cmdPAS@bg@bgcolor!50] (1.2cm,0) -- (1.2cm,-\paperheight); + \node[color=\cmdPAS@bg@postecolor,below right] at (9cm,-.5*\cv@h@pluton) {\begin{minipage}{12cm}\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste\end{minipage}}; + \clip (0,0) ellipse[x radius=8.5cm,y radius=12.5cm]; + \fill[\cmdPAS@bg@bordercolor] (0,-1) rectangle+(15,-1); + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node[above left] at (3.5,-12) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[above left,draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] at (3.5,-12) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@pluton[1]{% + \AddToShipoutPicture + {% + \AtPageLowerLeft + {% + \begin{tikzpicture} + \clip (0,0) rectangle+(\paperwidth,-\paperheight); + \node[below right] at (1.5,-1.25){ + \begin{minipage}{0.4\paperwidth} + #1 + \end{minipage}}; + \end{tikzpicture} + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@pluton[1]{% + \AddToShipoutPicture{% + \AtPageLowerLeft + {% + \begin{tikzpicture} + \clip (0,0) rectangle+(\paperwidth,-\paperheight); + \node[below right] at (9.2,-.5){ + \begin{minipage}{11cm} + #1 + \end{minipage}}; + \end{tikzpicture} + } + } +} + +%=============== TITRE =============== +\newcommand*\title@pluton[1]{% + \noindent + \begin{tikzpicture} + \fill[\cmdPAS@title@bordercolor] (0,0) circle (1.7mm); + \fill[\cmdPAS@title@bordercolor!50] (3.5mm,0) circle (1mm); + \fill[\cmdPAS@title@bordercolor!25] (6mm,0) circle (.7mm); + \node[right,text=\cmdPAS@title@color] at (7mm,0) {\scshape\bfseries #1}; + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@pluton{% +\FPeval\result{clip(\cv@h@pluton+1)} +\newgeometry{tmargin=\result cm,bmargin=2cm,lmargin=8.5cm,rmargin=1.5cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@pluton{% + \fill[\cmdPAS@bg@bgcolor!40] (0,0) ellipse[x radius=9cm,y radius=13cm];%5 & 8 + \foreach \rx/\ry/\c in {8.7/12.7/10,8.66/12.66/30,8.62/12.62/50,8.58/12.58/70,8.54/12.54/90} + { + \fill[fill=black!\c!\cmdPAS@bg@bgcolor!40] (0,0) ellipse[x radius=\rx cm,y radius=\ry cm]; + } + \fill[white] (0,0) ellipse[x radius=8.5cm,y radius=12.5cm]; + \fill[\cmdPAS@bg@bgcolor!20] (3,-25) circle (3cm); + \fill[white] (3,-25) circle (2.5cm); + \fill[\cmdPAS@bg@bgcolor!30] (2.2,-17) circle (.7cm); + \fill[white] (2.2,-17) circle (0.6cm); + \draw[very thick,\cmdPAS@bg@bgcolor!50] (1cm,0) -- (1cm,-\paperheight); + \draw[very thick,\cmdPAS@bg@bgcolor!50] (1.2cm,0) -- (1.2cm,-\paperheight); +} +\newcommand*\clearmargins@pluton{% + \newgeometry{tmargin=2cm,bmargin=2cm,lmargin=9cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-saturne.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-saturne.tex new file mode 100644 index 00000000000..86a315794cf --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-saturne.tex @@ -0,0 +1,76 @@ +\def\modele@saturne{saturne} +\def\cv@h@saturne{5} + +% =============== FOND =============== +\newcommand*\fond@saturne{% + % Création d'un dégradé dans la colonne de gauche + \shade[right color=gray!20,left color=white] (7,0) rectangle +(-7,-\paperheight); + \draw[color=gray,thick] (7,0) -- (7,-\paperheight); + % Création du rectangle et des traits + \draw[very thick,color=\cmdPAS@bg@bordercolor] (0,-\cv@h@saturne+.15) -- (\paperwidth,-\cv@h@saturne+.15); + \draw[very thick,color=\cmdPAS@bg@bordercolor] (0,-2.15-\cv@h@saturne) -- (\paperwidth,-2.15-\cv@h@saturne); + \fill[fill=\cmdPAS@bg@bgcolor] (0,-\cv@h@saturne) rectangle +(\paperwidth,-2); + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node at (2.5,-1-\cv@h@saturne) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] at (2.5,-1-\cv@h@saturne) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \clip (0,-\cv@h@saturne) rectangle +(\paperwidth,-2); + \shade[bottom color=\cmdPAS@bg@bgcolor!80!white,top color=\cmdPAS@bg@bgcolor,rotate=10,opacity=.2] (.5\paperwidth,-2-\cv@h@saturne) ellipse (5 and 1.5); + \node[left,color=\cmdPAS@bg@postecolor] at (.97\paperwidth,-1-\cv@h@saturne) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@saturne[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{1cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@saturne[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{.97\paperwidth},\LenToUnit{.97\paperheight}){% + \llap{% + \begin{minipage}[t]{.5\paperwidth} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@saturne[1]{% + \noindent + \begin{tikzpicture} + \fill[color=\cmdPAS@title@bordercolor,rotate=10] (0,-.25) ellipse (.25 and .125); + \node[below right,text=\cmdPAS@title@color] (title) at (.33,0) {\begin{minipage}{5cm}\scshape\bfseries #1\end{minipage}}; + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@saturne{% +\FPeval\result{clip(\cv@h@saturne+3)} +\newgeometry{tmargin=\result cm,bmargin=1.5cm,lmargin=1cm,rmargin=1cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@saturne{% + % Création d'un dégradé dans la colonne de droite + \shade[right color=gray!20,left color=white] (7,0) rectangle +(-7,-\paperheight); + \draw[color=gray,thick] (7,0) -- (7,-\paperheight); +} +\newcommand*\clearmargins@saturne{% + \newgeometry{tmargin=2cm,bmargin=1.5cm,lmargin=1cm,rmargin=1cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-univers.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-univers.tex new file mode 100644 index 00000000000..f190e5215bb --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-univers.tex @@ -0,0 +1,106 @@ +\def\modele@univers{univers} +\def\cv@h@univers{5} + +% =============== FOND =============== +\newcommand*\fond@univers{% + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node[circle,fill=\cmdPAS@bg@bordercolor,inner sep=5pt] (photo) at (2.5,-.5*\cv@h@univers) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[circle,fill=\cmdPAS@bg@bordercolor,inner sep=5pt] (photo) at (2.5,-.5*\cv@h@univers) {\phantom{\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}}; + \node[draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] at (2.5,-.5*\cv@h@univers) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \draw[decorate,decoration={random steps,segment length=2mm},fill=\cmdPAS@bg@bgcolor] (-.5,-\cv@h@univers+.5) rectangle +(1.1\paperwidth,-2); + \foreach \i in {1,...,100} + { + \pgfmathparse{21*rnd}\let\x\pgfmathresult + \pgfmathparse{-\cv@h@univers+.5-2*rnd}\let\y\pgfmathresult + \pgfmathparse{2*rnd}\let\r\pgfmathresult + \fill[white] (\x,\y) circle (\r pt); + } + \node[color=\cmdPAS@bg@postecolor] at (.5\paperwidth,-.5-\cv@h@univers) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; + % etoiles + \pgfdeclaredecoration{stars}{initial} + { + \state{initial}[width=15pt] + { + \pgfmathparse{round(rnd*100)} + \pgfsetfillcolor{\cmdPAS@bg@bgcolor!\pgfmathresult!white} + \pgfsetstrokecolor{\cmdPAS@bg@bgcolor!\pgfmathresult!gray} + \pgfnode{star}{center}{}{}{\pgfusepath{stroke,fill}} + } + \state{final} + { + \pgfpathmoveto{\pgfpointdecoratedpathlast} + } + } + \path[decorate, decoration=stars, star point ratio=2, star points=5,inner sep=0, minimum size=rnd*10pt+2pt] (.99\paperwidth,-.97\paperheight) .. controls (.5\paperwidth,-.93\paperheight) and (.25\paperwidth,-\paperheight) .. (-1,-.98\paperheight); +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@univers[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{5cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@univers[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{.97\paperwidth},\LenToUnit{.97\paperheight}){% + \llap{% + \begin{minipage}[t]{.5\paperwidth} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@univers[1]{% + \noindent + \begin{tikzpicture} + \node[fill=\cmdPAS@title@bordercolor,shape=star,rotate=20] (etoile) {}; + \node[right,text=\cmdPAS@title@color] at (.33,0) {\scshape\bfseries #1}; + \shade[left color=\cmdPAS@title@bordercolor,right color=white,very thick] ($(etoile.south west)+(0,-0.03)$) rectangle +(.9\paperwidth,-.02); + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@univers{% +\FPeval\result{clip(\cv@h@univers+2)} +\newgeometry{tmargin=\result cm,bmargin=1.5cm,lmargin=1cm,rmargin=1cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@univers{% + % etoiles + \pgfdeclaredecoration{stars}{initial} + { + \state{initial}[width=15pt] + { + \pgfmathparse{round(rnd*100)} + \pgfsetfillcolor{\cmdPAS@bg@bgcolor!\pgfmathresult!white} + \pgfsetstrokecolor{\cmdPAS@bg@bgcolor!\pgfmathresult!gray} + \pgfnode{star}{center}{}{}{\pgfusepath{stroke,fill}} + } + \state{final} + { + \pgfpathmoveto{\pgfpointdecoratedpathlast} + } + } + \path[decorate, decoration=stars, star point ratio=2, star points=5,inner sep=0, minimum size=rnd*10pt+2pt] (.99\paperwidth,-.97\paperheight) .. controls (.5\paperwidth,-.93\paperheight) and (.25\paperwidth,-\paperheight) .. (-1,-.98\paperheight); +} +\newcommand*\clearmargins@univers{% + \newgeometry{tmargin=2cm,bmargin=1.5cm,lmargin=1cm,rmargin=1cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-uranus.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-uranus.tex new file mode 100644 index 00000000000..c207676aee4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-uranus.tex @@ -0,0 +1,96 @@ +\def\modele@uranus{uranus} +\def\cv@h@uranus{5} + +% =============== FOND =============== +\newcommand*\fond@uranus{% + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node[below] at (3.25,-.5) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[below,draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] at (3.25,-.5) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \node[color=\cmdPAS@bg@postecolor,left] at (.98\paperwidth,-\cv@h@uranus+.25) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; + \clip (0,0) -- (2,0) .. controls (1.5,-1) and (1.5,-2) .. (2,-5) .. controls (5,-15) and (5,-20) .. (3,-29.7) -- (0,-29.7) -- cycle; + % 1èle portion + \fill[\cmdPAS@bg@bgcolor] (0,0) rectangle+(5,-6); + \shade[right color=\cmdPAS@bg@bgcolor,left color=\cmdPAS@bg@bordercolor] (0,0) rectangle+(2.5,-6); + % 2ème portion + \fill[fill=\cmdPAS@bg@bgcolor!50!black] (0,-7) rectangle+(5,-8); + \shade[right color=\cmdPAS@bg@bgcolor!50!black,left color=\cmdPAS@bg@bordercolor] (0,-7) rectangle+(3.5,-8); + % 3ème portion + \fill[fill=\cmdPAS@bg@bgcolor!25!white] (0,-16) rectangle+(5,-6); + \shade[right color=\cmdPAS@bg@bgcolor!25!white,left color=\cmdPAS@bg@bordercolor] (0,-16) rectangle+(3,-6); + % 4ème portion + \fill[fill=\cmdPAS@bg@bgcolor!75!black] (0,-23) rectangle+(5,-7); + \shade[right color=\cmdPAS@bg@bgcolor!75!black,left color=\cmdPAS@bg@bordercolor] (0,-23) rectangle+(3,-7); + \clip (0,0) -- (.7,0) .. controls (2,-10) and (3,-17) .. (1,-29.7) -- (0,-29.7) -- cycle; + \fill[white] (0,0) rectangle+(5,-29.7); +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@uranus[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{5cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@uranus[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{.97\paperwidth},\LenToUnit{.97\paperheight}){% + \llap{% + \begin{minipage}[t]{.5\paperwidth} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@uranus[1]{% + \noindent + \begin{minipage}{1cm} + \begin{tikzpicture} + \node[left,text=\cmdPAS@title@color,rotate=90] (title) {\scshape\bfseries #1}; + \draw[\cmdPAS@title@bordercolor,very thick] (title.south east) -- (title.south west); + \end{tikzpicture} + \end{minipage} +} + +%=============== MARGES =============== +\newcommand*\margins@uranus{% +\FPeval\result{clip(\cv@h@uranus+1)} +\newgeometry{tmargin=\result cm,bmargin=2cm,lmargin=5.5cm,rmargin=1.5cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@uranus{% + \clip (0,0) -- (2,0) .. controls (1.5,-1) and (1.5,-2) .. (2,-5) .. controls (5,-15) and (5,-20) .. (3,-29.7) -- (0,-29.7) -- cycle; + % 1èle portion + \fill[\cmdPAS@bg@bgcolor] (0,0) rectangle+(5,-6); + \shade[right color=\cmdPAS@bg@bgcolor,left color=\cmdPAS@bg@bordercolor] (0,0) rectangle+(2.5,-6); + % 2ème portion + \fill[fill=\cmdPAS@bg@bgcolor!50!black] (0,-7) rectangle+(5,-8); + \shade[right color=\cmdPAS@bg@bgcolor!50!black,left color=\cmdPAS@bg@bordercolor] (0,-7) rectangle+(3.5,-8); + % 3ème portion + \fill[fill=\cmdPAS@bg@bgcolor!25!white] (0,-16) rectangle+(5,-6); + \shade[right color=\cmdPAS@bg@bgcolor!25!white,left color=\cmdPAS@bg@bordercolor] (0,-16) rectangle+(3,-6); + % 4ème portion + \fill[fill=\cmdPAS@bg@bgcolor!75!black] (0,-23) rectangle+(5,-7); + \shade[right color=\cmdPAS@bg@bgcolor!75!black,left color=\cmdPAS@bg@bordercolor] (0,-23) rectangle+(3,-7); + \clip (0,0) -- (.7,0) .. controls (2,-10) and (3,-17) .. (1,-29.7) -- (0,-29.7) -- cycle; + \fill[white] (0,0) rectangle+(5,-29.7); +} +\newcommand*\clearmargins@uranus{% + \newgeometry{tmargin=2cm,bmargin=2cm,lmargin=5.5cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/macro-venus.tex b/Master/texmf-dist/tex/latex/pas-cv/macro-venus.tex new file mode 100644 index 00000000000..95b858a04f2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/macro-venus.tex @@ -0,0 +1,93 @@ +\def\modele@venus{venus} +\def\cv@h@venus{4} + +% =============== FOND =============== +\newcommand*\fond@venus{% + % dégradé haut + \fill[top color=\cmdPAS@bg@bgcolor,bottom color=white] (0,0) rectangle +(\paperwidth,-\cv@h@venus); + % dégradé bas + \fill[bottom color=\cmdPAS@bg@bgcolor,top color=white] (0,-\paperheight*.97) rectangle +(\paperwidth,-1); + % Rayures haut + \foreach \x in {0.4,0.8,...,23} + { + \draw[white,very thick] (\x,0) -- (\x-.5,-\cv@h@venus+1); + \draw[white,very thick] (\x,-28) -- (\x+.5,-27); + } + \fill[left color=\cmdPAS@bg@bordercolor,right color=white] (0,-\cv@h@venus) rectangle +(\paperwidth,-.25); + \fill[right color=\cmdPAS@bg@bgcolor,left color=white] (0,-\cv@h@venus-.25) rectangle +(\paperwidth,-1); + \ifx\cmdPAS@bg@pic\@empty% + \else + \ifx\cmdPAS@bg@borderpic\@empty + \node[above] (photo) at (2,-\cv@h@venus-1) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \else + \node[above,draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] at (2,-1-\cv@h@venus) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}}; + \fi + \fi + \node[color=\cmdPAS@bg@postecolor,left] at (.98\paperwidth,-.75-\cv@h@venus) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste}; +} + +%=============== INFO GAUCHE =============== +\newcommand*\infoLeft@venus[1]{% + \AddToShipoutPicture{% + \ifx\cmdPAS@bg@pic\empty + \put(\LenToUnit{1cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + \else + \put(\LenToUnit{4.5cm},\LenToUnit{.97\paperheight}) + {% + \rlap{ + \begin{minipage}[t]{0.5\paperwidth} + #1 + \end{minipage} + } + } + \fi + } +} + +%=============== INFO DROITE =============== +\newcommand*\infoRight@venus[1]{% + \AddToShipoutPicture{% + \put(\LenToUnit{.97\paperwidth},\LenToUnit{.97\paperheight}){% + \llap{% + \begin{minipage}[t]{.5\paperwidth} + \begin{flushright}#1\end{flushright} + \end{minipage} + } + } + } +} + +%=============== TITRE =============== +\newcommand*\title@venus[1]{% + \noindent + \begin{tikzpicture} + \fill[\cmdPAS@title@color] (0,.1) rectangle+(.2,-.2); + \draw[\cmdPAS@title@bordercolor,very thick] (.2,-.15) -- (-2,-.15); + \node[right,text=\cmdPAS@title@color] at (.4,0) {\scshape\bfseries #1}; + \end{tikzpicture} +} + +%=============== MARGES =============== +\newcommand*\margins@venus{% +\FPeval\result{clip(\cv@h@venus+2)} +\newgeometry{tmargin=\result cm,bmargin=2cm,lmargin=1.5cm,rmargin=1.5cm} +} + +%=============== CLEARPAGE =============== +\newcommand*\clearpage@venus{% + \fill[bottom color=\cmdPAS@bg@bgcolor,top color=white] (0,-\paperheight*.97) rectangle +(\paperwidth,-1); + \foreach \x in {0.4,0.8,...,23} + { + \draw[white,very thick] (\x,-28) -- (\x+.5,-27); + } +} +\newcommand*\clearmargins@venus{% + \newgeometry{tmargin=2cm,bmargin=2cm,lmargin=1.5cm,rmargin=1.5cm} +} diff --git a/Master/texmf-dist/tex/latex/pas-cv/pas-cv.sty b/Master/texmf-dist/tex/latex/pas-cv/pas-cv.sty new file mode 100644 index 00000000000..524151b3b39 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pas-cv/pas-cv.sty @@ -0,0 +1,222 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% pas-cv.sty V2.01 encodage : UTF-8 % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% Créé par Stéphane PASQUET % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Objet : Outils pour la création de cv avec TiKZ + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{pas-cv}[2013/11/26] + +% <----------------- Chargement des extensions ----------------------> +\RequirePackage{xkeyval} +\RequirePackage{graphicx} +\RequirePackage{tikz} +\usetikzlibrary{shadows,calc,fadings,shapes.geometric,patterns,decorations.pathmorphing} +\RequirePackage{eso-pic} +\RequirePackage{fp} +\RequirePackage{geometry} % ATTENTION ! Il faut une M.A.J. récente ! +\typeout{======> NOTE DE L'AUTEUR : Attention : vous devez disposer d'une mise a jour recente de TiKZ et du package geometry sans quoi, une erreur de compilation apparaitra au niveau des commandes CVmargins et CVclearpage. <======} +\input{macro-jupiter} +\input{macro-architecte} +\input{macro-dynamique} +\input{macro-saturne} +\input{macro-univers} +\input{macro-venus} +\input{macro-uranus} +\input{macro-mars} +\input{macro-neptune} +\input{macro-pluton} +\input{macro-gaia} +\input{macro-pegase} +\input{macro-andromede} +\input{macro-orion} +\input{macro-centaure} + +% <----------------- Création du fond de page ----------------------> + +\define@cmdkey [PAS] {bg} {modele}{} +\define@cmdkey [PAS] {bg} {bgcolor}{} +\define@cmdkey [PAS] {bg} {bordercolor}{} +\define@cmdkey [PAS] {bg} {postesize}{} +\define@cmdkey [PAS] {bg} {postecolor}{} +\define@cmdkey [PAS] {bg} {poste}{} +\define@cmdkey [PAS] {bg} {pic}{} +\define@cmdkey [PAS] {bg} {borderpic}{} +\define@cmdkey [PAS] {bg} {scalepic}{} +\presetkeys [PAS] {bg} {modele=,bgcolor=black,bordercolor=red,postesize=\Huge,postecolor=white,poste=,pic=,borderpic=,scalepic=1}{} + +\newcommand*\CVbg[1][]{% + \setkeys[PAS]{bg}{#1} + \AddToShipoutPicture{% + \AtPageLowerLeft{% + \begin{tikzpicture} + \clip (0,0) rectangle+(\paperwidth,-\paperheight); + \ifx\cmdPAS@bg@modele\modele@jupiter\fond@jupiter\fi + \ifx\cmdPAS@bg@modele\modele@architecte\fond@architecte\fi + \ifx\cmdPAS@bg@modele\modele@dynamique\fond@dynamique\fi + \ifx\cmdPAS@bg@modele\modele@saturne\fond@saturne\fi + \ifx\cmdPAS@bg@modele\modele@univers\fond@univers\fi + \ifx\cmdPAS@bg@modele\modele@venus\fond@venus\fi + \ifx\cmdPAS@bg@modele\modele@uranus\fond@uranus\fi + \ifx\cmdPAS@bg@modele\modele@mars\fond@mars\fi + \ifx\cmdPAS@bg@modele\modele@neptune\fond@neptune\fi + \ifx\cmdPAS@bg@modele\modele@pluton\fond@pluton\fi + \ifx\cmdPAS@bg@modele\modele@gaia\fond@gaia\fi + \ifx\cmdPAS@bg@modele\modele@pegase\fond@pegase\fi + \ifx\cmdPAS@bg@modele\modele@andromede\fond@andromede\fi + \ifx\cmdPAS@bg@modele\modele@orion\fond@orion\fi + \ifx\cmdPAS@bg@modele\modele@centaure\fond@centaure\fi + \end{tikzpicture} + } + } +} + +% <----------------- Création du cadre "identité" à gauche ----------------------> +\newcommand*\infoLeft[1] +{% + \ifx\cmdPAS@bg@modele\modele@jupiter\infoLeft@jupiter{#1}\fi + \ifx\cmdPAS@bg@modele\modele@architecte\infoLeft@architecte{#1}\fi + \ifx\cmdPAS@bg@modele\modele@dynamique\infoLeft@dynamique{#1}\fi + \ifx\cmdPAS@bg@modele\modele@saturne\infoLeft@saturne{#1}\fi + \ifx\cmdPAS@bg@modele\modele@univers\infoLeft@univers{#1}\fi + \ifx\cmdPAS@bg@modele\modele@venus\infoLeft@venus{#1}\fi + \ifx\cmdPAS@bg@modele\modele@uranus\infoLeft@uranus{#1}\fi + \ifx\cmdPAS@bg@modele\modele@mars\infoLeft@mars{#1}\fi + \ifx\cmdPAS@bg@modele\modele@neptune\infoLeft@neptune{#1}\fi + \ifx\cmdPAS@bg@modele\modele@pluton\infoLeft@pluton{#1}\fi + \ifx\cmdPAS@bg@modele\modele@gaia\infoLeft@gaia{#1}\fi + \ifx\cmdPAS@bg@modele\modele@pegase\infoLeft@pegase{#1}\fi + \ifx\cmdPAS@bg@modele\modele@andromede\infoLeft@andromede{#1}\fi + \ifx\cmdPAS@bg@modele\modele@orion\infoLeft@orion{#1}\fi + \ifx\cmdPAS@bg@modele\modele@centaure\infoLeft@centaure{#1}\fi +} + +% <----------------- Création du cadre "identité" à droite ----------------------> +\newcommand*\infoRight[1] +{% + \ifx\cmdPAS@bg@modele\modele@jupiter\infoRight@jupiter{#1}\fi + \ifx\cmdPAS@bg@modele\modele@architecte\infoRight@architecte{#1}\fi + \ifx\cmdPAS@bg@modele\modele@dynamique\infoRight@dynamique{#1}\fi + \ifx\cmdPAS@bg@modele\modele@saturne\infoRight@saturne{#1}\fi + \ifx\cmdPAS@bg@modele\modele@univers\infoRight@univers{#1}\fi + \ifx\cmdPAS@bg@modele\modele@venus\infoRight@venus{#1}\fi + \ifx\cmdPAS@bg@modele\modele@uranus\infoRight@uranus{#1}\fi + \ifx\cmdPAS@bg@modele\modele@mars\infoRight@mars{#1}\fi + \ifx\cmdPAS@bg@modele\modele@neptune\infoRight@neptune{#1}\fi + \ifx\cmdPAS@bg@modele\modele@pluton\infoRight@pluton{#1}\fi + \ifx\cmdPAS@bg@modele\modele@gaia\infoRight@gaia{#1}\fi + \ifx\cmdPAS@bg@modele\modele@pegase\infoRight@pegase{#1}\fi + \ifx\cmdPAS@bg@modele\modele@andromede\infoRight@andromede{#1}\fi + \ifx\cmdPAS@bg@modele\modele@orion\infoRight@orion{#1}\fi + \ifx\cmdPAS@bg@modele\modele@centaure\infoRight@centaure{#1}\fi +} + +% <----------------- Définition des marges ----------------------> +\newcommand*\CVmargins{% + \ifx\cmdPAS@bg@modele\modele@jupiter\margins@jupiter\fi + \ifx\cmdPAS@bg@modele\modele@architecte\margins@architecte\fi + \ifx\cmdPAS@bg@modele\modele@dynamique\margins@dynamique\fi + \ifx\cmdPAS@bg@modele\modele@saturne\margins@saturne\fi + \ifx\cmdPAS@bg@modele\modele@univers\margins@univers\fi + \ifx\cmdPAS@bg@modele\modele@venus\margins@venus\fi + \ifx\cmdPAS@bg@modele\modele@uranus\margins@uranus\fi + \ifx\cmdPAS@bg@modele\modele@mars\margins@mars\fi + \ifx\cmdPAS@bg@modele\modele@neptune\margins@neptune\fi + \ifx\cmdPAS@bg@modele\modele@pluton\margins@pluton\fi + \ifx\cmdPAS@bg@modele\modele@gaia\margins@gaia\fi + \ifx\cmdPAS@bg@modele\modele@pegase\margins@pegase\fi + \ifx\cmdPAS@bg@modele\modele@andromede\margins@andromede\fi + \ifx\cmdPAS@bg@modele\modele@orion\margins@orion\fi + \ifx\cmdPAS@bg@modele\modele@centaure\margins@centaure\fi +} + +% <----------------- Définition des titres ----------------------> +\define@cmdkey [PAS] {title} {color}{} +\define@cmdkey [PAS] {title} {bordercolor}{} +\presetkeys [PAS] {title} {color=black,bordercolor=black}{} + +\newcommand*\CVtitle[2][]{% + \setkeys[PAS]{title}{#1} + \ifx\cmdPAS@bg@modele\modele@jupiter\title@jupiter{#2}\fi + \ifx\cmdPAS@bg@modele\modele@architecte\title@architecte{#2}\fi + \ifx\cmdPAS@bg@modele\modele@dynamique\title@dynamique{#2}\fi + \ifx\cmdPAS@bg@modele\modele@saturne\title@saturne{#2}\fi + \ifx\cmdPAS@bg@modele\modele@univers\title@univers{#2}\fi + \ifx\cmdPAS@bg@modele\modele@venus\title@venus{#2}\fi + \ifx\cmdPAS@bg@modele\modele@uranus\title@uranus{#2}\fi + \ifx\cmdPAS@bg@modele\modele@mars\title@mars{#2}\fi + \ifx\cmdPAS@bg@modele\modele@neptune\title@neptune{#2}\fi + \ifx\cmdPAS@bg@modele\modele@pluton\title@pluton{#2}\fi + \ifx\cmdPAS@bg@modele\modele@gaia\title@gaia{#2}\fi + \ifx\cmdPAS@bg@modele\modele@pegase\title@pegase{#2}\fi + \ifx\cmdPAS@bg@modele\modele@andromede\title@andromede{#2}\fi + \ifx\cmdPAS@bg@modele\modele@orion\title@orion{#2}\fi + \ifx\cmdPAS@bg@modele\modele@centaure\title@centaure{#2}\fi +} + +% <----------------- Effacer le fond ----------------------> +\newcommand*\CVclearpage{% + \newpage + \ClearShipoutPicture + \AddToShipoutPicture{% + \AtPageLowerLeft{% + \begin{tikzpicture} + \clip (0,0) rectangle+(\paperwidth,-\paperheight); + \ifx\cmdPAS@bg@modele\modele@jupiter\clearpage@jupiter\fi + \ifx\cmdPAS@bg@modele\modele@architecte\clearpage@architecte\fi + \ifx\cmdPAS@bg@modele\modele@saturne\clearpage@saturne\fi + \ifx\cmdPAS@bg@modele\modele@univers\clearpage@univers\fi + \ifx\cmdPAS@bg@modele\modele@venus\clearpage@venus\fi + \ifx\cmdPAS@bg@modele\modele@uranus\clearpage@uranus\fi + \ifx\cmdPAS@bg@modele\modele@mars\clearpage@mars\fi + \ifx\cmdPAS@bg@modele\modele@neptune\clearpage@neptune\fi + \ifx\cmdPAS@bg@modele\modele@pluton\clearpage@pluton\fi + \ifx\cmdPAS@bg@modele\modele@gaia\clearpage@gaia\fi + \ifx\cmdPAS@bg@modele\modele@pegase\clearpage@pegase\fi + \ifx\cmdPAS@bg@modele\modele@andromede\clearpage@andromede\fi + \ifx\cmdPAS@bg@modele\modele@orion\clearpage@orion\fi + \ifx\cmdPAS@bg@modele\modele@centaure\clearpage@centaure\fi + \end{tikzpicture} + } + } + \ifx\cmdPAS@bg@modele\modele@jupiter\clearmargins@jupiter\fi + \ifx\cmdPAS@bg@modele\modele@architecte\clearmargins@architecte\fi + \ifx\cmdPAS@bg@modele\modele@dynamique\clearmargins@dynamique\fi + \ifx\cmdPAS@bg@modele\modele@saturne\clearmargins@saturne\fi + \ifx\cmdPAS@bg@modele\modele@univers\clearmargins@univers\fi + \ifx\cmdPAS@bg@modele\modele@venus\clearmargins@venus\fi + \ifx\cmdPAS@bg@modele\modele@uranus\clearmargins@uranus\fi + \ifx\cmdPAS@bg@modele\modele@mars\clearmargins@mars\fi + \ifx\cmdPAS@bg@modele\modele@neptune\clearmargins@neptune\fi + \ifx\cmdPAS@bg@modele\modele@pluton\clearmargins@pluton\fi + \ifx\cmdPAS@bg@modele\modele@gaia\clearmargins@gaia\fi + \ifx\cmdPAS@bg@modele\modele@pegase\clearmargins@pegase\fi + \ifx\cmdPAS@bg@modele\modele@andromede\clearmargins@andromede\fi + \ifx\cmdPAS@bg@modele\modele@orion\clearmargins@orion\fi + \ifx\cmdPAS@bg@modele\modele@centaure\clearmargins@centaure\fi +} + +% <----------------- Redéfinition de la hauteur ----------------------> +\newcommand*\CVh[1]{% + \ifx\cmdPAS@bg@modele\modele@jupiter\def\cv@h@jupiter{#1}\fi + \ifx\cmdPAS@bg@modele\modele@architecte\def\cv@h@architecte{#1}\fi + \ifx\cmdPAS@bg@modele\modele@dynamique\def\cv@h@dynamique{#1}\fi + \ifx\cmdPAS@bg@modele\modele@saturne\def\cv@h@saturne{#1}\fi + \ifx\cmdPAS@bg@modele\modele@univers\def\cv@h@univers{#1}\fi + \ifx\cmdPAS@bg@modele\modele@venus\def\cv@h@venus{#1}\fi + \ifx\cmdPAS@bg@modele\modele@uranus\def\cv@h@uranus{#1}\fi + \ifx\cmdPAS@bg@modele\modele@mars\def\cv@h@mars{#1}\fi + \ifx\cmdPAS@bg@modele\modele@neptune\def\cv@h@neptune{#1}\fi + \ifx\cmdPAS@bg@modele\modele@pluton\def\cv@h@pluton{#1}\fi + \ifx\cmdPAS@bg@modele\modele@gaia\def\cv@h@gaia{#1}\fi + \ifx\cmdPAS@bg@modele\modele@pegase\def\cv@h@pegase{#1}\fi + \ifx\cmdPAS@bg@modele\modele@andromede\def\cv@h@andromede{#1}\fi + \ifx\cmdPAS@bg@modele\modele@orion\def\cv@h@orion{#1}\fi + \ifx\cmdPAS@bg@modele\modele@centaure\def\cv@h@centaure{#1}\fi +} +\endinput |