summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mycv/Examples/Models
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/mycv/Examples/Models')
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl.tex30
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl2.tex14
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/model-layouts.tex77
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/model-spl.tex10
4 files changed, 77 insertions, 54 deletions
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
deleted file mode 100644
index 20f88f11e5a..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl.tex
+++ /dev/null
@@ -1,30 +0,0 @@
-\input{Models/model-common}
-\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%
-} \ 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
deleted file mode 100644
index 7826702826d..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl2.tex
+++ /dev/null
@@ -1,14 +0,0 @@
-\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/Models/model-layouts.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-layouts.tex
new file mode 100644
index 00000000000..f3297affee5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-layouts.tex
@@ -0,0 +1,77 @@
+\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/Models/model-spl.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-spl.tex
deleted file mode 100644
index 2123f90d77f..00000000000
--- a/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-spl.tex
+++ /dev/null
@@ -1,10 +0,0 @@
-\input{Models/model-common}
-\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>
- % ---------------------------------------------------
-} \ No newline at end of file