summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pas-cv/macro-orion.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pas-cv/macro-orion.tex')
-rw-r--r--Master/texmf-dist/tex/latex/pas-cv/macro-orion.tex78
1 files changed, 78 insertions, 0 deletions
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}
+}