diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/mycv/Examples/Models/model-layouts.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/mycv/Examples/Models/model-layouts.tex | 77 |
1 files changed, 77 insertions, 0 deletions
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 |