From 3f85b6efb2378e4e8d9dac3e94d1c1a7edc840c7 Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Fri, 20 Nov 2009 10:20:57 +0000 Subject: ecv update (version 0.2) git-svn-id: svn://tug.org/texlive/trunk@16097 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ecv/ecv.cls | 31 +++++++++++++++++--------- Master/texmf-dist/tex/latex/ecv/ecvEnglish.ldf | 2 +- 2 files changed, 22 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/tex/latex/ecv') diff --git a/Master/texmf-dist/tex/latex/ecv/ecv.cls b/Master/texmf-dist/tex/latex/ecv/ecv.cls index 9cb7dac4c6a..cf62caec0fb 100644 --- a/Master/texmf-dist/tex/latex/ecv/ecv.cls +++ b/Master/texmf-dist/tex/latex/ecv/ecv.cls @@ -28,7 +28,7 @@ \ProvidesClass{ecv}[\filedate % \space Version \fileversion\space by % - Christoph Neumann & Bernd Haberstumpf % + Christoph P.\ Neumann & Bernd Haberstumpf % ] @@ -43,15 +43,12 @@ \ProcessOptions -\LoadClass[a4paper,11pt]{scrartcl} +\LoadClass[a4paper,11pt]{article} -\newif\ifpdf - \ifx\pdfoutput\undefined - \pdffalse % we are not running pdflatex -\else - \pdfoutput=1 % we are running pdflatex +\RequirePackage{ifpdf} + +\ifpdf \pdfcompresslevel=9 % compression level fortext and image; - \pdftrue \fi @@ -73,11 +70,11 @@ \RequirePackage{helvet} -\RequirePackage{color} +\RequirePackage{xcolor} \RequirePackage{fancyhdr} -\RequirePackage[latin9]{inputenc} % = latin1, but also with euro sign +\RequirePackage{selinput} \RequirePackage[T1]{fontenc} @@ -252,6 +249,12 @@ }{}% } \newcommand{\ecvTagFirst}[2][\ecv@lang]{\ecvTF[#1]{#2}} +\newcommand{\ecvTI}[2][\ecv@lang]{% + \ifthenelse{\equal{#1}{\ecv@lang}}{% + \ecvLeft{\ecvBulletedFirst{#2}}% + }{}% +} +\newcommand{\ecvTagIntermediate}[2][\ecv@lang]{\ecvTI[#1]{#2}} \newcommand{\ecvTN}[2][\ecv@lang]{% \ifthenelse{\equal{#1}{\ecv@lang}}{% \ecvLeft{\ecvBulleted{#2}}% @@ -290,6 +293,14 @@ \ecvTF[#1]{#2} & \ecvVB[#1]{#3} % } \newcommand{\ecvTagFirstValueBlocked}[3][\ecv@lang]{\ecvEFB[#1]{#2}{#3}} +\newcommand{\ecvEIR}[3][\ecv@lang]{% + \ecvTI[#1]{#2} & \ecvVR[#1]{#3} % +} +\newcommand{\ecvTagIntermediateValueRagged}[3][\ecv@lang]{\ecvEIR[#1]{#2}{#3}} +\newcommand{\ecvEIB}[3][\ecv@lang]{% + \ecvTI[#1]{#2} & \ecvVB[#1]{#3} % +} +\newcommand{\ecvTagIntermediateValueBlocked}[3][\ecv@lang]{\ecvEIB[#1]{#2}{#3}} \newcommand{\ecvENR}[3][\ecv@lang]{% \ecvTN[#1]{#2} & \ecvVR[#1]{#3} % } diff --git a/Master/texmf-dist/tex/latex/ecv/ecvEnglish.ldf b/Master/texmf-dist/tex/latex/ecv/ecvEnglish.ldf index 5e2d5477b73..c72e1c5f37e 100644 --- a/Master/texmf-dist/tex/latex/ecv/ecvEnglish.ldf +++ b/Master/texmf-dist/tex/latex/ecv/ecvEnglish.ldf @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesFile{ecvGerman.ldf}[2007/01/05] +\ProvidesFile{ecvEnglish.ldf}[2007/01/05] \def\ecvNLS@Page{Page} \def\ecvNLS@Title{Curriculum Vitae} -- cgit v1.2.3