summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mycv/Examples
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/mycv/Examples')
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/NOTES11
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex21
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl.tex16
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl2.tex14
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-common.tex32
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdfbin82493 -> 83390 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.tex7
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl2.pdfbin0 -> 42926 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl2.tex10
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdfbin42438 -> 83184 bytes
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.tex6
11 files changed, 73 insertions, 44 deletions
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Models/NOTES b/Master/texmf-dist/doc/latex/mycv/Examples/Models/NOTES
deleted file mode 100644
index d0d57c8ae85..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Models/NOTES
+++ /dev/null
@@ -1,11 +0,0 @@
-
-================================================
----------------
-IMPORTANT NOTES
----------------
-
- In files 'model-dpl.tex' & 'model-spl.tex' the
- '|' and '&' symbols are used as delimiters for
- the listings package. They are not part of the
- syntax (however, they do not create problems).
-================================================ \ 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
index 46b130cc2ae..ef32a3098a0 100644
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex
@@ -1,24 +1,15 @@
-% file with the common layout components: header and footer
-\ifmodel{verDPL}{%
- \newcommand{\cvdec}{%
- mydecorationsSetLineWidth=@0.3mm:%
- mydecorationsPathmorphing=*=coil=!radial=!lightgray%
- }
-}{\newcommand{\cvdec}{}}
-\newcommand{\sectionnumber}[1]{\section{Section #1}}
-
\def\headerlayoutlist{%
- &MainHeaderPageBegin&:<postcmd:vspace=10pt>,
+ MainHeaderPageBegin:<postcmd:vspace=10pt>,
% ---------------------------------------- left header
- |SubHeaderPageBegin|:<precmd:\cvdec:hfill>,
+ SubHeaderPageBegin:<precmd:hfill>,
header_title@, % header file one
- |SubHeaderPageEnd|:<postcmd:hfill>,
+ SubHeaderPageEnd:<postcmd:hfill>,
% ---------------------------------------- right header
- |SubHeaderPageBegin|,
+ SubHeaderPageBegin,
header_contacts@, % header file two
- |SubHeaderPageEnd|,
+ SubHeaderPageEnd,
% -------------------------------------------
- &MainHeaderPageEnd&
+ 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-dpl.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl.tex
index 7a9fa039d8e..20f88f11e5a 100644
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl.tex
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl.tex
@@ -3,28 +3,28 @@
% ---------------------------------------------------------
% moves the right margin to the left (text and title rules)
% ---------------------------------------------------------
- &MainBodyPageBegin&:<0.96>,
+ 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|,
+ SubBodyPageBegin,
+ SubBodyPageEnd,
% -----------------------------------------
% left page (0.48 of textwidth)
% -----------------------------------------
- |SubBodyPageBegin|:<0.48>,
+ 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>,
+ SubBodyPageEnd:<postcmd:hfill>,
% -----------------------------------------
% right page (0.48 of textwidth)
% -----------------------------------------
- |SubBodyPageBegin|:<0.48>,
+ SubBodyPageBegin:<0.48>,
contents_partA@:<precmd:vspace=10pt:sectionnumber=4>,
contents_partB@:<precmd:vspace=10pt:sectionnumber=5>,
- |SubBodyPageEnd|,
+ SubBodyPageEnd,
% -----------------------------------------
- &MainBodyPageEnd&%
+ MainBodyPageEnd%
} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl2.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl2.tex
new file mode 100644
index 00000000000..7826702826d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl2.tex
@@ -0,0 +1,14 @@
+\input{Models/model-common}
+
+\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>,%
+} \ 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
index e31e45838b6..3cfb9f7a721 100644
--- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-common.tex
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-common.tex
@@ -1,15 +1,29 @@
-\mypdfauthor{Andrea}
-\mypdftitle{Just a CV example}
-
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\usepackage{tikz}
-\ifmodel{verSPL}{\input{Models/model-spl}}{\relax}
-\ifmodel{verDPL}{\input{Models/model-dpl}}{\relax}
+\ifoption{withDec}{%
+ \newcommand{\cvdec}{
+ \mydecorationsSetLineWidth[0.3mm]%
+ \mydecorationsPathmorphing*{coil}<radial><lightgray>
+ }%
+}{\newcommand{\cvdec}{}}
+
+\ifmodel{verSPL}{
+ \input{Models/model-spl}
+ \mypdftitle{Simple CV example: SPL}
+}{\relax}
+
+\ifmodel{verDPL}{
+ \input{Models/model-dpl}
+ \mypdftitle{Simple CV example: DPL}
+}{\relax}
+
+\ifmodel{verDPL2}{
+ \input{Models/model-dpl2}
+ \mypdftitle{Simple CV example: DPL2}
+}{\relax}
-\begin{document}
-\myrenderlayout % all components
-\mycfoot{Last update: \today}
-\end{document} \ No newline at end of file
+\newcommand{\sectionnumber}[1]{\section{Section #1}}
+\mypdfauthor{Andrea} \ 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 ebe8f5e63ad..20c2c9267e2 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-dpl.tex b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.tex
index b8b35ecca89..8e97e087af6 100644
--- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.tex
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.tex
@@ -1,2 +1,9 @@
\documentclass[10pt,mdlname=verDPL,withDec,language=english]{mycv}
+
+\usepackage{mycv_style}
+\usepackage{mycv_dec}
\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-dpl2.pdf b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl2.pdf
new file mode 100644
index 00000000000..80ce1baacba
--- /dev/null
+++ 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-dpl2.tex b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl2.tex
new file mode 100644
index 00000000000..30a452e83a5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl2.tex
@@ -0,0 +1,10 @@
+\documentclass[10pt,mdlname=verDPL2,language=english]{mycv}
+\input{mycv-example-common}
+
+\usepackage{multicol}
+\setlength{\columnsep}{2.0pc}
+\setlength\columnseprule{.4pt}
+
+\begin{document}
+\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 45658136c45..d17cad83403 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-spl.tex b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.tex
index bb404b8af0d..5bdb8dcde23 100644
--- a/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.tex
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.tex
@@ -1,2 +1,6 @@
-\documentclass[10pt,mdlname=verSPL,language=english]{mycv}
+\documentclass[10pt,mdlname=verSPL,withDec,language=english]{mycv}
\input{mycv-example-common}
+
+\begin{document}
+\cvdec\myrenderlayout\mycfoot{Last update: \today}
+\end{document} \ No newline at end of file