summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-common.tex
blob: 81d57655353fb10c2ca7005eb03fcce3ed5ebcab (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
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\usepackage{tikz}

\ifoption{withDec}{%
   \newcommand{\cvdec}{
      \mydecorationsSetLineWidth[0.3mm]%
      \mydecorationsPathmorphing*{coil}<radial><lightgray>
   }%
   \ifmodel{verSPL2}{
      \renewcommand{\cvdec}{
         \mydecorationsSetPosXTL[-4cm]
         \mydecorationsSetPosYTL[1.5cm]
         \mydecorationsSetPosYBR[-2cm]
         \mydecorationsSetPosXBR[4cm]
         \mydecorationsPathmorphing*[0]{shape}[black]<ball><black>
      }%
   }
}{\newcommand{\cvdec}{}}

% include layouts components
\input{Models/model-layouts}

\ifmodel{verSPL} {\mypdftitle{Simple CV example: SPL}} {\relax}
\ifmodel{verSPL2}{\mypdftitle{Simple CV example: SPL2}}{\relax}
\ifmodel{verDPL} {\mypdftitle{Simple CV example: DPL}} {\relax}
\ifmodel{verDPL2}{\mypdftitle{Simple CV example: DPL2}}{\relax}

\newcommand{\sectionnumber}[1]{\section{Section #1}}
\mypdfauthor{Andrea Ghersi}