diff options
author | Karl Berry <karl@freefriends.org> | 2018-07-14 21:26:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-07-14 21:26:41 +0000 |
commit | edc5c8d25f4854e6dff4ca8a434b42ce7375228a (patch) | |
tree | fff4b38b5a3a2b3ccfe49a44e4f3d5be14510abc /Master/texmf-dist/tex/latex/europecv/europecv.cls | |
parent | efe2600f14622e2e208c1e47d9c2a03265c4922c (diff) |
europecv (14jul18)
git-svn-id: svn://tug.org/texlive/trunk@48199 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/europecv/europecv.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/europecv/europecv.cls | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/europecv/europecv.cls b/Master/texmf-dist/tex/latex/europecv/europecv.cls index ef749e5f8fe..8bc04529a77 100644 --- a/Master/texmf-dist/tex/latex/europecv/europecv.cls +++ b/Master/texmf-dist/tex/latex/europecv/europecv.cls @@ -1,12 +1,12 @@ %!TEX encoding = UTF-8 Unicode % % European curriculum vitae class -% Author: Nicola Vitacolonna (vitacolo@dimi.uniud.it) -% This material is subject to the LaTeX Project Public License. -% See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html +% Author: Nicola Vitacolonna (vitacolo@dimi.uniud.it) and Giuseppe Silano (giuseppe.silano@unisannio.it) +% This material is subject to the LaTeX Project Public License, either version 1.3 +% See https://ctan.mirror.garr.it/mirrors/CTAN/help/Catalogue/licenses.lppl.html % for the details of that license \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{europecv}[2006/04/24 (beta+Unicode TeX detection) European curriculum vitae class] +\ProvidesClass{europecv}[2018/07/13 (beta+Unicode TeX detection) European curriculum vitae class] % CV models and instructions: % http://europass.cedefop.eu.int/htm/index.htm @@ -195,6 +195,7 @@ } + % Input encodings \DeclareOption{ascii}{\AtEndOfClass{\inputencoding{ascii}}} \DeclareOption{latin1}{\AtEndOfClass{\inputencoding{latin1}}} @@ -356,9 +357,11 @@ \newcommand*{\ecvname}[1]{\def\ecv@name{#1}} % Replaces the above \newcommand*{\ecvfootername}[1]{\def\ecv@footername{#1}} \newcommand*{\ecvaddress}[1]{\def\ecv@address{#1}} -\newcommand*{\ecvtelephone}[2][]{\def\ecv@telephone{#2}\def\ecv@mobile{#1}} -\newcommand*{\ecvfax}[1]{\def\ecv@fax{#1}} +\newcommand*{\ecvtelephone}[3][]{\def\ecv@telephone{#3}\def\ecv@mobile{#2}\def\ecv@office{#1}} \newcommand*{\ecvemail}[1]{\def\ecv@email{#1}} +\newcommand*{\ecvprofessional}[1]{\def\ecv@professional{#1}} +\newcommand*{\ecvskype}[1]{\def\ecv@skype{#1}} +\newcommand*{\ecvpec}[1]{\def\ecv@pec{#1}} \newcommand*{\ecvhomepage}[1]{\def\ecv@homepage{#1}} \newcommand*{\ecvnationality}[1]{\def\ecv@nationality{#1}} \newcommand*{\ecvdateofbirth}[1]{\def\ecv@birth{#1}} @@ -385,14 +388,16 @@ \ecvfootername{\ecv@name} \ecvaddress{} \ecvtelephone{} -\ecvfax{} \ecvemail{} +\ecvpec{} \ecvnationality{} \ecvdateofbirth{} \ecvgender{} \ecvpicture{} + \providecommand{\ecvpersonalinfo}[1][0pt]{% +{\large\par\textbf{\ecv@date}} & \tabularnewline & \tabularnewline \ifx\@empty\ecvdrawpicture\else &\ecv@beforepic\ecvdrawpicture\ecv@afterpic\tabularnewline @@ -404,16 +409,23 @@ \ecv@addresskey &\ecv@address \tabularnewline[5pt] \fi \ifx\@empty\ecv@telephone\else -\ecv@telkey &\ecv@telephone - \ifx\@empty\ecv@mobile\else\qquad\ecv@mobilekey: \ecv@mobile\fi + \ecv@telkey &\ecv@telephone + \ifx\@empty\ecv@mobile\else\qquad\ecv@mobilekey: \ecv@mobile\fi + \ifx\@empty\ecv@office\else\qquad\ecv@ufficiokey: \ecv@office\fi \tabularnewline[5pt] \fi -\ifx\@empty\ecv@fax\else -\ecv@faxkey &\ecv@fax \tabularnewline[5pt] -\fi \ifx\@empty\ecv@email\else \ecv@emailkey &\ecv@email \tabularnewline[5pt] \fi +\ifx\@empty\ecv@professional\else +\ecv@professionalkey &\ecv@professional \tabularnewline[5pt] +\fi +\ifx\@empty\ecv@pec\else +\ecv@peckey &\ecv@pec \tabularnewline[5pt] +\fi +\ifx\@empty\ecv@skype\else +\ecv@skypekey &\ecv@skype \tabularnewline[5pt] +\fi \ifx\@empty\ecv@nationality\else \ecv@nationalitykey & \ecv@nationality \tabularnewline[5pt] \fi @@ -588,7 +600,7 @@ } {\end{longtable}} -\newcommand{\ecvsection}[2][10pt]{% +\renewcommand{\section}[2][10pt]{% {\large{\par\textbf{#2}}}\vspace{#1} & \tabularnewline\nopagebreak } |