diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-16 20:35:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-16 20:35:41 +0000 |
commit | c1224c35298e95661e09676cbab3d5830612ce87 (patch) | |
tree | ed182e56e37d2e8ebc82ad9e47c260930bf60ca5 /Master/texmf-dist/tex/latex/europasscv/europasscv.cls | |
parent | a23814813ddc2837007fa10e3b895a5da6dae34f (diff) |
europasscv (16may16)
git-svn-id: svn://tug.org/texlive/trunk@41201 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/europasscv/europasscv.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/europasscv/europasscv.cls | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/europasscv/europasscv.cls b/Master/texmf-dist/tex/latex/europasscv/europasscv.cls index fcb320b404d..02716b4fa45 100644 --- a/Master/texmf-dist/tex/latex/europasscv/europasscv.cls +++ b/Master/texmf-dist/tex/latex/europasscv/europasscv.cls @@ -8,7 +8,7 @@ % See http://www.latex-project.org/lppl.txt % for the details of that license \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{europasscv}[2015/03/10 (beta) Europass curriculum vitae class, 2013 version] +\ProvidesClass{europasscv}[2016/05/15 Europass curriculum vitae class, 2013 version] % CV models and instructions: % http://europass.cedefop.eu.int/htm/index.htm @@ -498,8 +498,8 @@ \newlength\ecv@langouterborderwidth \newlength\ecv@langinnerborderwidth -\setlength{\ecv@langouterborderwidth}{0.04cm} -\setlength{\ecv@langinnerborderwidth}{0.02cm} +\setlength{\ecv@langouterborderwidth}{0.05cm} +\setlength{\ecv@langinnerborderwidth}{0.03cm} \newif\if@ecvfirstlangrow\@ecvfirstlangrowfalse @@ -531,7 +531,7 @@ \setlength{\ecv@langtablewidth}{\ecv@rightcolwidth} \addtolength{\ecv@langtablewidth}{-4\arrayrulewidth} \arrayrulecolor{ecvtablebordercolor} - \renewcommand{\arraystretch}{1.8} + \renewcommand{\arraystretch}{1.5} \begin{tabular}[t]{p{\ecv@langcola\ecv@rightcolwidth}p{\ecv@langcolb\ecv@rightcolwidth}p{\ecv@langcolc\ecv@rightcolwidth}p{\ecv@langcold\ecv@rightcolwidth}p{\ecv@langcole\ecv@rightcolwidth}} \centering{\raisebox{-\arrayrulewidth}{#3}} &\centering{\raisebox{-\arrayrulewidth}{#4}} &\centering{\raisebox{-\arrayrulewidth}{#5}} &\centering{\raisebox{-\arrayrulewidth}{#6}} &\centering{\raisebox{-\arrayrulewidth}{#7}} \tabularnewline \hline @@ -540,15 +540,32 @@ \@ecvfirstlangrowfalse } +\newcommand*\ecvlanguagecertificate[1]{ +% \vspace*{-\dp\strutbox} + \setlength{\arrayrulewidth}{\ecv@langouterborderwidth} + \ecvitem[-0.7\dp\strutbox]{}{ + \setlength{\ecv@langtablewidth}{\ecv@rightcolwidth} + \addtolength{\ecv@langtablewidth}{-4\arrayrulewidth} + \arrayrulecolor{ecvtablebordercolor} + \renewcommand{\arraystretch}{1.4} + \begin{tabular}[t]{p{\ecv@rightcolwidth}} + \centering #1 \cellcolor{ecvhighlightcellcolor}\tabularnewline + \hline + \end{tabular} + } + \@ecvfirstlangrowfalse +} + \newcommand*\ecvlanguage[7][0pt]{\ecvlangrow[#1]{#2}{#3}{#4}{#5}{#6}{#7}{\ecv@langinnerborderwidth}} +% \newcommand*\ecvlanguagecertificate[1]{\ecvitem[-0.7mm]{ciao}{\centering \raisebox{-1mm}{#1} \cellcolor{green!25} \hrule height \ecv@langouterborderwidth }} \newcommand*\ecvlastlanguage[7][0pt]{\ecvlangrow[#1]{#2}{#3}{#4}{#5}{#6}{#7}{\ecv@langouterborderwidth}} \newcommand*{\ecvlanguagefooter}[1][0pt]{ \nopagebreak[4] -\ecvitem[0.5\dp\strutbox]{}{\textcolor{ecvsectioncolor}{\ecv@langshortdesckey}} +\ecvitem[0.5\dp\strutbox]{}{\footnotesize \textcolor{ecvsectioncolor}{\ecv@langshortdesckey}} \nopagebreak[4] % \vspace*{-0.5\dp\strutbox} -\ecvitem[-0.5\dp\strutbox]{}{\setulcolor{ecvlanglinkcolor}\setul{.5pt}{.4pt}\href{\ecv@langlinkkey}{\ul{\mbox{\textcolor{ecvlanglinkcolor}{\ecv@langfooterkey}}}}} +\ecvitem[-0.5\dp\strutbox]{}{\footnotesize \setulcolor{ecvlanglinkcolor}\setul{.5pt}{.4pt}\href{\ecv@langlinkkey}{\ul{\mbox{\textcolor{ecvlanglinkcolor}{\ecv@langfooterkey}}}}} \renewcommand{\arraystretch}{0} } @@ -742,6 +759,8 @@ \@ecvitemskipfalse } +\newcommand{\ecvhighlightcell}[1]{\vspace{-4\dp\strutbox}\hspace{0.2cm}\parbox{0.95\ecv@rightcolwidth}{\vspace*{0.3cm} #1\vspace{0.1cm}} \cellcolor{ecvhighlightcellcolor}} + \ecvRuleWidth{0pt} % colors @@ -749,5 +768,6 @@ \definecolor{ecvsectioncolor}{HTML}{0e4194} \definecolor{ecvhighlightcolor}{HTML}{1593cb} \definecolor{ecvtablebordercolor}{HTML}{c6c6c6} +\definecolor{ecvhighlightcellcolor}{HTML}{ebebeb} \definecolor{ecvlanglinkcolor}{HTML}{000080} \definecolor{ecvtextcolor}{HTML}{3e3a38} |