diff options
author | Karl Berry <karl@freefriends.org> | 2012-04-13 22:31:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-04-13 22:31:07 +0000 |
commit | 623c812ad9f18e80cd3ca0032ec3ec4187202593 (patch) | |
tree | 9c1c9a6a858f51e197cb1ad03b7a0257e13baa2b /Master/texmf-dist/doc/latex/mycv/Examples | |
parent | 844a044419a675256a955f28ebf38f85433ba27f (diff) |
new latex package mycv (13apr12)
git-svn-id: svn://tug.org/texlive/trunk@25955 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/mycv/Examples')
15 files changed, 132 insertions, 0 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 new file mode 100644 index 00000000000..a5ba9e0d58c --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partA.tex @@ -0,0 +1,4 @@ + +\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 new file mode 100644 index 00000000000..d67ed1614b6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partB.tex @@ -0,0 +1,4 @@ + +\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 new file mode 100644 index 00000000000..175ff82cbf0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/contents_partC.tex @@ -0,0 +1,9 @@ + +\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 new file mode 100644 index 00000000000..60307f9f051 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/footer_sign.tex @@ -0,0 +1,4 @@ + +\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 new file mode 100644 index 00000000000..93066603a85 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/header_contacts.tex @@ -0,0 +1,14 @@ +\def\cvcontactsep{\\} +\vspace{0pt} %trick for alignment +\begin{tikzpicture} + \node [fill=myshadecolor,rounded corners=10pt, minimum size= 2.5cm]{% + \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*} + }; +\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 new file mode 100644 index 00000000000..6fb52bda72e --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/Contents/header_title.tex @@ -0,0 +1,3 @@ +\bigskip +{\sffamily\Huge{}Dr. Adam Smith}\\[3pt]% +{\color{myheadingscolor}\huge\calligra{CurriculumVitae}\\[25pt]}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/mycv/Examples/Models/NOTES b/Master/texmf-dist/doc/latex/mycv/Examples/Models/NOTES new file mode 100644 index 00000000000..d0d57c8ae85 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/Models/NOTES @@ -0,0 +1,11 @@ + +================================================ +--------------- +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 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 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 new file mode 100644 index 00000000000..7a9fa039d8e --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-dpl.tex @@ -0,0 +1,30 @@ +\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-spl.tex b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-spl.tex new file mode 100644 index 00000000000..2123f90d77f --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/Models/model-spl.tex @@ -0,0 +1,10 @@ +\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 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 new file mode 100644 index 00000000000..e31e45838b6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-common.tex @@ -0,0 +1,15 @@ +\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} + +\begin{document} +\myrenderlayout % all components +\mycfoot{Last update: \today} +\end{document}
\ 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 Binary files differnew file mode 100644 index 00000000000..e1e415fcaf0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.pdf 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 new file mode 100644 index 00000000000..b8b35ecca89 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-dpl.tex @@ -0,0 +1,2 @@ +\documentclass[10pt,mdlname=verDPL,withDec,language=english]{mycv} +\input{mycv-example-common} 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 Binary files differnew file mode 100644 index 00000000000..3cdd1fc4037 --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.pdf 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 new file mode 100644 index 00000000000..bb404b8af0d --- /dev/null +++ b/Master/texmf-dist/doc/latex/mycv/Examples/mycv-example-spl.tex @@ -0,0 +1,2 @@ +\documentclass[10pt,mdlname=verSPL,language=english]{mycv} +\input{mycv-example-common} |