summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mycv/Examples
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-21 23:58:58 +0000
committerKarl Berry <karl@freefriends.org>2012-05-21 23:58:58 +0000
commita7b8fe1003c960fbd27086146bb341a6ddae788a (patch)
treeed903293e66d4470669962e1d77abfb05dc561e2 /Master/texmf-dist/doc/latex/mycv/Examples
parenteec1bcc6efce237f93a0615bee7089ba973beedc (diff)
mycv (21may12)
git-svn-id: svn://tug.org/texlive/trunk@26558 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/mycv/Examples')
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partA.tex4
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partB.tex4
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partC.tex9
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Contents/footer_sign.tex4
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Contents/header_contacts.tex26
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Contents/header_title.tex5
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex15
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/model-layouts.tex77
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Notes.txt29
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-common.tex31
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdfbin83722 -> 83550 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl2.pdfbin83925 -> 83749 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-main.tex9
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdfbin83505 -> 83326 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl2.pdfbin43736 -> 43560 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-examples.dtx324
16 files changed, 341 insertions, 196 deletions
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partA.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partA.tex
deleted file mode 100644
index a5ba9e0d58c..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partA.tex
+++ /dev/null
@@ -1,4 +0,0 @@
-
-\begin{mychangemargin}{0.1in}{0.1in}
- \lipsum[73]
-\end{mychangemargin} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partB.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partB.tex
deleted file mode 100644
index d67ed1614b6..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partB.tex
+++ /dev/null
@@ -1,4 +0,0 @@
-
-\begin{mychangemargin}{0.1in}{0.1in}
- \lipsum[74]
-\end{mychangemargin} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partC.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partC.tex
deleted file mode 100644
index 175ff82cbf0..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partC.tex
+++ /dev/null
@@ -1,9 +0,0 @@
-
-\begin{mychangemargin}{0.1in}{0.1in}
- A list:
- \begin{myitemize}
- \item this is item 1;
- \item this is item 2;
- \item .....
- \end{myitemize}
-\end{mychangemargin} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/footer_sign.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/footer_sign.tex
deleted file mode 100644
index 60307f9f051..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/footer_sign.tex
+++ /dev/null
@@ -1,4 +0,0 @@
-
-\bigskip\bigskip
-\ifmodel{verSPL}{\flushleft}{\relax}
-{\Large\calligra{Adam Smith}} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/header_contacts.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/header_contacts.tex
deleted file mode 100644
index 4e11e9d96a7..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/header_contacts.tex
+++ /dev/null
@@ -1,26 +0,0 @@
-\def\cvcontactsep{\\}
-\vspace{0pt} %trick for alignment
-
-\tikzstyle{mybox} = [%
- draw=red, fill=blue!20, very thick,
- rectangle, rounded corners,
- inner sep=10pt, inner ysep=20pt]
-
-\tikzstyle{fancytitle} = [
- fill=red, text=white]
-
-\begin{tikzpicture}
- \node (box)[fill=myshadecolor,rounded corners=10pt, minimum size= 2.5cm]{%
- {\color{black}
- \begin{tabular*}{6cm}{l|l}
- &Unknown address XYZXYZXYZ\cvcontactsep
- \raisebox{-3pt}{\Mobilefone} &+39\,0123\,456789\cvcontactsep
- \raisebox{-3pt}{\Telefon} &Telephone\cvcontactsep
- \raisebox{-3pt}{\Email} &\href{mailto:unknown@gmail.com}
- {unknown@gmail.com}\cvcontactsep
- \end{tabular*}
- }};
- \node[fancytitle, text width=0.5423\textwidth, text centered,
- rounded corners] at (box.north){Contacts};
-\end{tikzpicture}
-\bigskip \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/header_title.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/header_title.tex
deleted file mode 100644
index 7b06ae8f0af..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Contents/header_title.tex
+++ /dev/null
@@ -1,5 +0,0 @@
-\bigskip
-{\sffamily\Huge{}Dr. Adam Smith}\\[3pt]%
-\ifmodel{verSPL2}
- {{\color{red}\huge\calligra{CurriculumVitae}\\[25pt]}}
- {{\color{myheadingscolor}\huge\calligra{CurriculumVitae}\\[25pt]}} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex
deleted file mode 100644
index ef32a3098a0..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex
+++ /dev/null
@@ -1,15 +0,0 @@
-\def\headerlayoutlist{%
- MainHeaderPageBegin:<postcmd:vspace=10pt>,
- % ---------------------------------------- left header
- SubHeaderPageBegin:<precmd:hfill>,
- header_title@, % header file one
- SubHeaderPageEnd:<postcmd:hfill>,
- % ---------------------------------------- right header
- SubHeaderPageBegin,
- header_contacts@, % header file two
- SubHeaderPageEnd,
- % -------------------------------------------
- MainHeaderPageEnd%
-}
-
-\def\footerlayoutlist{footer_sign@} % footer file \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-layouts.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-layouts.tex
deleted file mode 100644
index f3297affee5..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-layouts.tex
+++ /dev/null
@@ -1,77 +0,0 @@
-\input{Models/model-common}
-
-\ifmodel{verSPL}{%
- \def\bodylayoutlist{%
- % ---------------------------------------------------
- contents_partA@:<precmd:vspace=10pt:sectionnumber=1>,
- contents_partB@:<precmd:vspace=10pt:sectionnumber=2>,
- contents_partC@:<precmd:vspace=10pt:sectionnumber=3>,
- contents_partA@:<precmd:vspace=10pt:sectionnumber=4>,
- contents_partB@:<precmd:vspace=10pt:sectionnumber=5>
- % ---------------------------------------------------
- }%
-}{\relax}
-
-\ifmodel{verSPL2}{%
- % changes color of text and sections
- \mysectionTitleFormat[red][red]
- \color{white}
-
- \def\bodylayoutlist{%
- contents_partA@:<precmd:vspace=10pt:sectionnumber=1>,%
- contents_partB@:<precmd:vspace=10pt:sectionnumber=2>,%
- contents_partA@:<precmd:vspace=10pt:sectionnumber=3>,%
- contents_partC@:<precmd:vspace=10pt:sectionnumber=4>,%
- contents_partA@:<precmd:vspace=10pt:sectionnumber=5>,%
- contents_partB@:<precmd:vspace=10pt:sectionnumber=6>
- }%
-}{\relax}
-
-\ifmodel{verDPL}{%
- \def\bodylayoutlist{%
- % ---------------------------------------------------------
- % moves the right margin to the left (text and title rules)
- % ---------------------------------------------------------
- MainBodyPageBegin:<0.96>,
- % ---------------------------------------------------------
- % the 2 directives below are just used as a trick to do the
- % same thing for the left margin (it is moved to the right)
- % ---------------------------------------------------------
- SubBodyPageBegin,
- SubBodyPageEnd,
- % -----------------------------------------
- % left page (0.48 of textwidth)
- % -----------------------------------------
- SubBodyPageBegin:<0.48>,
- contents_partA@:<precmd:vspace=10pt:sectionnumber=1>,
- contents_partB@:<precmd:vspace=10pt:sectionnumber=2>,
- contents_partC@:<precmd:vspace=10pt:sectionnumber=3>,
- SubBodyPageEnd:<postcmd:hfill>,
- % -----------------------------------------
- % right page (0.48 of textwidth)
- % -----------------------------------------
- SubBodyPageBegin:<0.48>,
- contents_partA@:<precmd:vspace=10pt:sectionnumber=4>,
- contents_partB@:<precmd:vspace=10pt:sectionnumber=5>,
- SubBodyPageEnd,
- % -----------------------------------------
- MainBodyPageEnd%
- }%
-}{\relax}
-
-\ifmodel{verDPL2}{%
- \usepackage{multicol}
- \setlength{\columnsep}{2.0pc}
- \setlength\columnseprule{.4pt}
- \newcommand{\mcbegin}{\begin{multicols}{2}}
- \newcommand{\mcend}{\end{multicols}}
-
- \def\bodylayoutlist{%
- contents_partA@:<precmd:vspace=10pt:mcbegin:sectionnumber=1>,%
- contents_partB@:<precmd:vspace=10pt:sectionnumber=2>,%
- contents_partA@:<precmd:vspace=10pt:sectionnumber=3>,%
- contents_partC@:<precmd:vspace=10pt:sectionnumber=4>,%
- contents_partA@:<precmd:vspace=10pt:sectionnumber=5>,%
- contents_partB@:<precmd:vspace=10pt:sectionnumber=6>:<postcmd:mcend>%
- }%
-}{\relax} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Notes.txt b/Master/texmf-dist/doc/latex/mycv/Examples/Notes.txt
index e373e7d8676..07b75f588c2 100644
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Notes.txt
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/Notes.txt
@@ -1,17 +1,22 @@
+===========================================================================================
+To produce the pdf files with examples, follow these steps:
-=========================================================================================
-To produce the pdf files with examples, set the local environment variable 'TEXINPUTS' to
-the directory where you unzipped the 'mycv' bundle. As an example, on Linux:
+ 1) extract the content of the file 'mycv-examples.dtx' by typing:
- export TEXINPUTS=".:$TEXINPUTS:<dirpath>/mycv:"
+ (pdf)latex mycv-examples.dtx
-Then run the commands (it may be necessary to run each command twice):
+ 2) set the local environment variable 'TEXINPUTS' to the directory where you unzipped
+ the 'mycv' bundle (*). As an example, on Linux:
- pdflatex -jobname mycv-example-dpl "\def\model{verDPL}\input{mycv-example-main}"
- pdflatex -jobname mycv-example-dpl2 "\def\model{verDPL2}\input{mycv-example-main}"
- pdflatex -jobname mycv-example-spl "\def\model{verSPL}\input{mycv-example-main}"
- pdflatex -jobname mycv-example-spl2 "\def\model{verSPL2}\input{mycv-example-main}"
+ export TEXINPUTS=".:<dirpath>/mycv:$TEXINPUTS:"
-If the class has been installed in the system (see the README file), you simply need to
-run the commands above (without setting the environment variable 'TEXINPUTS').
-========================================================================================= \ No newline at end of file
+ 3) run the following commands (it may be necessary to run each command twice):
+
+ pdflatex -jobname mycv-example-dpl "\def\model{verDPL}\input{mycv-example-main}"
+ pdflatex -jobname mycv-example-dpl2 "\def\model{verDPL2}\input{mycv-example-main}"
+ pdflatex -jobname mycv-example-spl "\def\model{verSPL}\input{mycv-example-main}"
+ pdflatex -jobname mycv-example-spl2 "\def\model{verSPL2}\input{mycv-example-main}"
+
+(*) if the class has been installed in the system (see the 'README' file), the step (2) can
+ be skipped.
+=========================================================================================== \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-common.tex b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-common.tex
deleted file mode 100644
index 81d57655353..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-common.tex
+++ /dev/null
@@ -1,31 +0,0 @@
-\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} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf
index dfa87f5bb84..ffd6518b6c7 100644
--- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl2.pdf b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl2.pdf
index a88ec273e27..988eca42f38 100644
--- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl2.pdf
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-main.tex b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-main.tex
deleted file mode 100644
index 2514e4b20ce..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-main.tex
+++ /dev/null
@@ -1,9 +0,0 @@
-\def\cvmodel{verDPL} % default model
-\ifdefined\model\def\cvmodel{\model}\fi
-
-\documentclass[10pt,mdlname=\cvmodel,withDec,language=english]{mycv}
-\input{mycv-example-common}
-
-\begin{document}
-\cvdec\myrenderlayout\mycfoot{Last update: \today}
-\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf
index f18af8cf950..86e69000075 100644
--- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl2.pdf b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl2.pdf
index 7d8a0da04c8..081cd54710b 100644
--- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl2.pdf
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-examples.dtx b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-examples.dtx
new file mode 100644
index 00000000000..ee9d4046493
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-examples.dtx
@@ -0,0 +1,324 @@
+% \iffalse meta-comment
+% mycv-examples : some examples about the usage of the class
+% 'mycv' (a curriculum vitae class allowing TikZ decorations).
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License version
+% 1.3c, available at 'http://www.latex-project.org/lppl'.
+%
+% The examples consist of the main source file 'mycv-examples.dtx'
+% and the derived files:
+%
+% mycv-examples.ins,
+% contents_part[A|B|C].tex,
+% header_[contacts|title].tex,
+% model-[common|layouts].tex,
+% mycv-example-[common|main].tex,
+% footer_sign.tex,
+% mycv-example[dpl|dl2].pdf,
+% mycv-example[spl|sl2].pdf
+%
+% Unpacking the examples:
+%
+% (pdf)latex mycv-examples.dtx
+%
+% Producing the examples:
+%
+% see the file 'Examples/Notes.txt'.
+%
+% ----------------------------------------------------------
+% ** This file was automatically generated by <DoPackage.sh>
+% ** with option(s) 'ctan'.
+% ** Date: Sun May 20 21:31:37 CEST 2012::1337542297
+% ----------------------------------------------------------
+% \fi
+%<*install>
+\input docstrip.tex
+
+\preamble
+-----------------------------------------------------------
+ Author: Andrea Ghersi
+ Copyright 2012 Ghersi Andrea (ghanhawk@gmail.com).
+
+ This work may be distributed and/or modified under the
+ conditions of the LaTeX Project Public License version
+ 1.3c, available at 'http://www.latex-project.org/lppl'.
+-----------------------------------------------------------
+\endpreamble
+
+\keepsilent
+\askforoverwritefalse
+\usedir{tex/latex/mycv/examples}
+
+\generate{%
+ \file{mycv-examples.ins}{\nopreamble\nopostamble\from{mycv-examples.dtx}{install}}%
+ \file{mycv-example-common.tex}{\nopreamble\nopostamble\from{mycv-examples.dtx}{mycv-example-common.tex}}%
+ \file{mycv-example-main.tex}{\nopreamble\nopostamble\from{mycv-examples.dtx}{mycv-example-main.tex}}%
+ \file{contents_partA.tex}{\nopreamble\nopostamble\from{mycv-examples.dtx}{contents-partA.tex}}%
+ \file{contents_partB.tex}{\nopreamble\nopostamble\from{mycv-examples.dtx}{contents-partB.tex}}%
+ \file{contents_partC.tex}{\nopreamble\nopostamble\from{mycv-examples.dtx}{contents-partC.tex}}%
+ \file{footer_sign.tex}{\nopreamble\nopostamble\from{mycv-examples.dtx}{footer-sign.tex}}%
+ \file{header_contacts.tex}{\nopreamble\nopostamble\from{mycv-examples.dtx}{header-contacts.tex}}%
+ \file{header_title.tex}{\nopreamble\nopostamble\from{mycv-examples.dtx}{header-title.tex}}%
+ \file{model-common.tex}{\nopreamble\nopostamble\from{mycv-examples.dtx}{model-common.tex}}%
+ \file{model-layouts.tex}{\nopreamble\nopostamble\from{mycv-examples.dtx}{model-layouts.tex}}%
+}
+
+\obeyspaces
+\Msg{**************************************************************}
+\Msg{* *}
+\Msg{* See the file 'Notes.txt' for information on how to produce *}
+\Msg{* pdf files with examples. *}
+\Msg{* *}
+\Msg{* Happy (La)TeXing! *}
+\Msg{* *}
+\Msg{**************************************************************}
+
+\endbatchfile
+%</install>
+%
+%
+% \iffalse
+%<*mycv-example-common.tex>
+% \fi
+\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}{}}
+
+\input{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}
+% \iffalse
+%</mycv-example-common.tex>
+% \fi
+%
+%
+% \iffalse
+%<*mycv-example-main.tex>
+% \fi
+\def\cvmodel{verDPL} % default model
+\ifdefined\model\def\cvmodel{\model}\fi
+
+\documentclass[10pt,mdlname=\cvmodel,cntdir=.,withDec,language=english]{mycv}
+\input{mycv-example-common}
+
+\begin{document}
+\cvdec\myrenderlayout\mycfoot{Last update: \today}
+\end{document}
+% \iffalse
+%</mycv-example-main.tex>
+% \fi
+%
+%
+% \iffalse
+%<*contents-partA.tex>
+% \fi
+
+\begin{mychangemargin}{0.1in}{0.1in}
+ \lipsum[73]
+\end{mychangemargin}
+% \iffalse
+%</contents-partA.tex>
+% \fi
+%
+%
+% \iffalse
+%<*contents-partB.tex>
+% \fi
+
+\begin{mychangemargin}{0.1in}{0.1in}
+ \lipsum[74]
+\end{mychangemargin}
+% \iffalse
+%</contents-partB.tex>
+% \fi
+%
+%
+% \iffalse
+%<*contents-partC.tex>
+% \fi
+
+\begin{mychangemargin}{0.1in}{0.1in}
+ A list:
+ \begin{myitemize}
+ \item this is item 1;
+ \item this is item 2;
+ \item .....
+ \end{myitemize}
+\end{mychangemargin}
+% \iffalse
+%</contents-partC.tex>
+% \fi
+%
+%
+% \iffalse
+%<*footer-sign.tex>
+% \fi
+
+\bigskip\bigskip
+\ifmodel{verSPL}{\flushleft}{\relax}
+{\Large\calligra{Adam Smith}}
+% \iffalse
+%</footer-sign.tex>
+% \fi
+%
+%
+% \iffalse
+%<*header-contacts.tex>
+% \fi
+\def\cvcontactsep{\\}
+\vspace{0pt} %trick for alignment
+
+\tikzstyle{mybox} = [%
+ draw=red, fill=blue!20, very thick,
+ rectangle, rounded corners,
+ inner sep=10pt, inner ysep=20pt]
+
+\tikzstyle{fancytitle} = [
+ fill=red, text=white]
+
+\begin{tikzpicture}
+ \node (box)[fill=myshadecolor,rounded corners=10pt, minimum size= 2.5cm]{%
+ {\color{black}
+ \begin{tabular*}{6cm}{l|l}
+ &Unknown address XYZXYZXYZ\cvcontactsep
+ \raisebox{-3pt}{\Mobilefone} &+39\,0123\,456789\cvcontactsep
+ \raisebox{-3pt}{\Telefon} &Telephone\cvcontactsep
+ \raisebox{-3pt}{\Email} &\href{mailto:unknown@gmail.com}
+ {unknown@gmail.com}\cvcontactsep
+ \end{tabular*}
+ }};
+ \node[fancytitle, text width=0.5423\textwidth, text centered,
+ rounded corners] at (box.north){Contacts};
+\end{tikzpicture}
+\bigskip
+% \iffalse
+%</header-contacts.tex>
+% \fi
+%
+%
+% \iffalse
+%<*header-title.tex>
+% \fi
+\bigskip
+{\sffamily\Huge{}Dr. Adam Smith}\\[3pt]%
+\ifmodel{verSPL2}
+ {{\color{red}\huge\calligra{CurriculumVitae}\\[25pt]}}
+ {{\color{myheadingscolor}\huge\calligra{CurriculumVitae}\\[25pt]}}
+% \iffalse
+%</header-title.tex>
+% \fi
+%
+%
+% \iffalse
+%<*model-common.tex>
+% \fi
+\def\headerlayoutlist{%
+ MainHeaderPageBegin:<postcmd:vspace=10pt>,
+ SubHeaderPageBegin:<precmd:hfill>,
+ header_title@, % header file one
+ SubHeaderPageEnd:<postcmd:hfill>,
+ SubHeaderPageBegin,
+ header_contacts@, % header file two
+ SubHeaderPageEnd,
+ MainHeaderPageEnd%
+}
+
+\def\footerlayoutlist{footer_sign@} % footer file
+% \iffalse
+%</model-common.tex>
+% \fi
+%
+%
+% \iffalse
+%<*model-layouts.tex>
+% \fi
+\input{model-common}
+
+\ifmodel{verSPL}{%
+ \def\bodylayoutlist{%
+ contents_partA@:<precmd:vspace=10pt:sectionnumber=1>,
+ contents_partB@:<precmd:vspace=10pt:sectionnumber=2>,
+ contents_partC@:<precmd:vspace=10pt:sectionnumber=3>,
+ contents_partA@:<precmd:vspace=10pt:sectionnumber=4>,
+ contents_partB@:<precmd:vspace=10pt:sectionnumber=5>
+ }%
+}{\relax}
+
+\ifmodel{verSPL2}{%
+ \mysectionTitleFormat[red][red]
+ \color{white}
+
+ \def\bodylayoutlist{%
+ contents_partA@:<precmd:vspace=10pt:sectionnumber=1>,%
+ contents_partB@:<precmd:vspace=10pt:sectionnumber=2>,%
+ contents_partA@:<precmd:vspace=10pt:sectionnumber=3>,%
+ contents_partC@:<precmd:vspace=10pt:sectionnumber=4>,%
+ contents_partA@:<precmd:vspace=10pt:sectionnumber=5>,%
+ contents_partB@:<precmd:vspace=10pt:sectionnumber=6>
+ }%
+}{\relax}
+
+\ifmodel{verDPL}{%
+ \def\bodylayoutlist{%
+ MainBodyPageBegin:<0.96>,
+ SubBodyPageBegin,
+ SubBodyPageEnd,
+ SubBodyPageBegin:<0.48>,
+ contents_partA@:<precmd:vspace=10pt:sectionnumber=1>,
+ contents_partB@:<precmd:vspace=10pt:sectionnumber=2>,
+ contents_partC@:<precmd:vspace=10pt:sectionnumber=3>,
+ SubBodyPageEnd:<postcmd:hfill>,
+ SubBodyPageBegin:<0.48>,
+ contents_partA@:<precmd:vspace=10pt:sectionnumber=4>,
+ contents_partB@:<precmd:vspace=10pt:sectionnumber=5>,
+ SubBodyPageEnd,
+ MainBodyPageEnd%
+ }%
+}{\relax}
+
+\ifmodel{verDPL2}{%
+ \usepackage{multicol}
+ \setlength{\columnsep}{2.0pc}
+ \setlength\columnseprule{.4pt}
+ \newcommand{\mcbegin}{\begin{multicols}{2}}
+ \newcommand{\mcend}{\end{multicols}}
+
+ \def\bodylayoutlist{%
+ contents_partA@:<precmd:vspace=10pt:mcbegin:sectionnumber=1>,%
+ contents_partB@:<precmd:vspace=10pt:sectionnumber=2>,%
+ contents_partA@:<precmd:vspace=10pt:sectionnumber=3>,%
+ contents_partC@:<precmd:vspace=10pt:sectionnumber=4>,%
+ contents_partA@:<precmd:vspace=10pt:sectionnumber=5>,%
+ contents_partB@:<precmd:vspace=10pt:sectionnumber=6>:<postcmd:mcend>%
+ }%
+}{\relax}
+% \iffalse
+%</model-layouts.tex>
+% \fi
+%
+% \Finale
+\endinput