summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex')
-rw-r--r--Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex24
1 files changed, 24 insertions, 0 deletions
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
new file mode 100644
index 00000000000..46b130cc2ae
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-common.tex
@@ -0,0 +1,24 @@
+% 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>,
+ % ---------------------------------------- left header
+ |SubHeaderPageBegin|:<precmd:\cvdec: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