diff options
author | Karl Berry <karl@freefriends.org> | 2015-03-10 22:08:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-03-10 22:08:09 +0000 |
commit | 8333d638af410c3ad892c1b3583c2488ff57cc28 (patch) | |
tree | a4f2b76acbeb1bcfa3b141f719cecc092f091af9 /Master/texmf-dist/tex/latex/europasscv/europasscv.cls | |
parent | f29fb7f0c90f5bd49edc591bca993fff2a822229 (diff) |
europasscv (10mar15)
git-svn-id: svn://tug.org/texlive/trunk@36475 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 | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/europasscv/europasscv.cls b/Master/texmf-dist/tex/latex/europasscv/europasscv.cls index 6cd7feadb25..fcb320b404d 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/04 (beta) Europass curriculum vitae class, 2013 version] +\ProvidesClass{europasscv}[2015/03/10 (beta) Europass curriculum vitae class, 2013 version] % CV models and instructions: % http://europass.cedefop.eu.int/htm/index.htm @@ -312,7 +312,7 @@ % Right Footnote to be shown on every page \newcommand\ecvfootnote[1]{\def\ecv@cfoot{#1}} -\ecvfootnote{\textcopyright~\ecv@europeanunionkey, 2002-2014 | http://europass.cedefop.europa.eu } +\ecvfootnote{\textcopyright~\ecv@europeanunionkey, 2002-\the\year\ | http://europass.cedefop.europa.eu } \AtBeginDocument{% @@ -349,7 +349,7 @@ \fancyhead[L]{ \noindent \begin{minipage}{0.5\textwidth} -\noindent\makebox[\ecv@leftcolwidth][l]{\noindent\raisebox{-0.68\height}[0pt][0pt]{\if@ecvlogo\includegraphics[width=0.6\ecv@logowidth]{europasslogo.pdf}\fi}} +\noindent\makebox[\ecv@leftcolwidth][l]{\noindent\raisebox{-0.68\height}[0pt][0pt]{\if@ecvlogo\includegraphics[width=0.6\ecv@logowidth]{europasslogo2013.pdf}\fi}} \hspace*{\ecv@leftcolwidth}\hspace*{\ecv@colsep}\noindent \raisebox{\dp\strutbox}{\ecvcoloredtitle} \end{minipage} @@ -361,7 +361,7 @@ \fancyhead[L]{ \noindent \begin{minipage}{0.5\textwidth} -\noindent\makebox[\ecv@leftcolwidth][l]{\noindent\raisebox{-0.52\height}[0pt][0pt]{\if@ecvlogo\includegraphics[width=\ecv@logowidth]{europasslogo.pdf}\fi}} +\noindent\makebox[\ecv@leftcolwidth][l]{\noindent\raisebox{-0.52\height}[0pt][0pt]{\if@ecvlogo\includegraphics[width=\ecv@logowidth]{europasslogo2013.pdf}\fi}} \hspace*{\ecv@leftcolwidth}\hspace*{\ecv@colsep}\noindent \raisebox{\dp\strutbox}{\ecvcoloredtitle} \end{minipage} @@ -458,11 +458,11 @@ \raisebox{-2\lineskip}{\includegraphics[width=0.4cm]{im_europass_icon.pdf}} \hspace{0.2mm}{\fontseries{m}\selectfont \ecv@im} \newline \fi \ifx\@empty\ecv@gender\else - \if@ecvpineedspipe\else \hspace{-1ex}\fi + \if@ecvpineedspipe\else \hspace*{-0.5ex}\fi \fontseries{m}\selectfont \ecvhighlight{~\if@ecvpineedspipe | \fi \ecv@genderkey} \ecv@gender \@ecvpineedspipetrue \fi \ifx\@empty\ecv@birth\else - \if@ecvpineedspipe\else \hspace{-1ex}\fi + \if@ecvpineedspipe\else \hspace*{-0.5ex}\fi \fontseries{m}\selectfont \ecvhighlight{~\if@ecvpineedspipe | \fi\ecv@birthkey} \ecv@birth \@ecvpineedspipetrue \fi \if@ecvpicture @@ -476,7 +476,7 @@ \fi \fi \ifx\@empty\ecv@nationality\else - \if@ecvpineedspipe\else \hspace{-1ex}\fi + \if@ecvpineedspipe\else \hspace*{-0.5ex}\fi \fontseries{m}\selectfont \ecvhighlight{~\if@ecvpineedspipe | \fi \ecv@nationalitykey}~\ecv@nationality \@ecvpineedspipetrue \fi & @@ -662,6 +662,7 @@ \newlength{\ecv@currentskip} \newif\if@ecvlastitemwassection\@ecvlastitemwassectionfalse +\newif\if@ecvitemcommand\@ecvitemcommandtrue \newcommand{\ecv@secondarg}{} \newcommand{\ecv@thirdarg}{} @@ -688,6 +689,12 @@ \vspace{\ecv@currentskip} \fi + \if@ecvitemcommand + \if@ecvlastitemwassection + \vspace{\smallskipamount} + \fi + \fi + \setlength\ecv@itemizeskip{-\ht\strutbox}\addtolength{\ecv@itemizeskip}{-2\dp\strutbox} \begin{tabular}{@{}p{\ecv@leftcolwidth}@{\extracolsep{\ecv@colsep}}P{\ecv@rightcolwidth}@{}} @@ -695,11 +702,13 @@ \end{tabular} \@ecvitemskiptrue \@ecvlastitemwassectionfalse + \@ecvitemcommandtrue } \newlength{\ecv@sectionrulelength} \newcommand{\ecvsection}[2][1.3\bigskipamount]{% + \@ecvitemcommandfalse \setlength{\ecv@sectionrulelength}{\ecv@rightcolwidth} \addtolength{\ecv@sectionrulelength}{-7pt} \ecvitem[#1]{\ecvsectionstyle{#2}} @@ -711,6 +720,7 @@ } \newcommand\ecvtitle[3][\if@ecvitemskip 1.3\bigskipamount \else 0pt \fi]{% + \@ecvitemcommandfalse \ecvitem[#1]{\small \ecvbluenormalstyle{#2}}{\ecvtitlestyle{#3}} } |