summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/europecv/europecv.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-01-03 22:16:04 +0000
committerKarl Berry <karl@freefriends.org>2020-01-03 22:16:04 +0000
commitaa819fa85d1c01a71332540c36dfb0c6c23577d2 (patch)
tree82f8e1fe078158addb9ec4614429aec761c1c104 /Master/texmf-dist/tex/latex/europecv/europecv.cls
parent82b4ea140835f4a222bf33969065de43c75dd5a2 (diff)
europecv (3jan20)
git-svn-id: svn://tug.org/texlive/trunk@53313 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.cls28
1 files changed, 17 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/europecv/europecv.cls b/Master/texmf-dist/tex/latex/europecv/europecv.cls
index c30f1c3397b..e91a2749776 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) and Giuseppe Silano (giuseppe.silano@unisannio.it)
+% Author: Nicola Vitacolonna (nicola.vitacolonna@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}[12/23/2019 (Unicode TeX detection) European curriculum vitae class]
+\ProvidesClass{europecv}[01/03/2020 (Unicode TeX detection) European curriculum vitae class]
% CV models and instructions:
% http://europass.cedefop.eu.int/htm/index.htm
@@ -18,6 +18,7 @@
% See comment below.
\newcommand\ecv@utf[1]{{\inputencoding{utf8x}#1}}
+\newcommand{\ecv@upshape}[1]{\upshape{#1}}
% Set language
\DeclareOption{english}{%
@@ -230,11 +231,11 @@
\DeclareOption{macukr}{\AtEndOfClass{\inputencoding{macukr}}}
% Set font
-\DeclareOption{helvetica}{%
+\DeclareOption{helvetica}{%
\renewcommand{\rmdefault}{phv}
\renewcommand{\sfdefault}{phv}
}
-\DeclareOption{arial}{%
+\DeclareOption{arial}{%
\renewcommand{\rmdefault}{ma1} % (this font is NOT installed by default!)
\renewcommand{\sfdefault}{ma1}
}
@@ -248,7 +249,7 @@
\AtEndOfPackage{\renewcommand*\ecvtitle{}}%
}
-% The nobranding function was created by Marc-Andre Hermanns
+% The nobranding function was created by Marc-Andre Hermanns
% No branding (i.e., "Europass" logotype)
\DeclareOption{nobranding}{%
@@ -262,7 +263,7 @@
}
\DeclareOption{nologo}{\renewcommand*\draweuropasslogo{}}
-% Flag pictures of the EC can be found at
+% Flag pictures of the EC can be found at
% http://europa.eu.int/abc/symbols/emblem/index_en.htm
\DeclareOption{noflag}{\providecommand*\draweuropeflag{}}
\DeclareOption{flagWB}{%
@@ -297,7 +298,7 @@
% Pass all other options (a4paper, 10pt, draft, openbib, etc...) to article
\DeclareOption*{%
\PassOptionsToClass{\CurrentOption}{article}%
-}
+}
\ExecuteOptions{english,noflag,logo,hrule} % Default options
@@ -307,7 +308,7 @@
%% start of addition (with permission) by David Carlisle
\ifx\Umathchar\@undefined
-%% encoding support for pdftex and classic TeX
+%% encoding support for pdftex and classic TeX
\RequirePackage{ucs}
\RequirePackage[utf8x]{inputenc}
\else
@@ -400,6 +401,7 @@
\newcommand*{\ecvemail}[1]{\def\ecv@email{#1}}
\newcommand*{\ecvprofessional}[1]{\def\ecv@professional{#1}}
\newcommand*{\ecvskype}[1]{\def\ecv@skype{#1}}
+\newcommand*{\ecvmatrixriot}[1]{\def\ecv@matrixriot{#1}}
\newcommand*{\ecvyoutube}[1]{\def\ecv@youtube{#1}}
\newcommand*{\ecvpec}[1]{\def\ecv@pec{#1}}
\newcommand*{\ecvhomepage}[1]{\def\ecv@homepage{#1}}
@@ -429,6 +431,7 @@
\ecvfootername{\ecv@name}
\ecvaddress{}
\ecvskype{}
+\ecvmatrixriot{}
\ecvyoutube{}
\ecvprofessional{}
\ecvtelephone{}
@@ -461,7 +464,7 @@
\tabularnewline[5pt]
\fi
\ifx\@empty\ecv@officeAddress \else
- \ecv@addresskey &\ecv@officeAddress
+ \ecv@addresskey &\ecv@officeAddress
\tabularnewline[5pt]
\fi
\fi
@@ -493,6 +496,9 @@
\ifx\@empty\ecv@skype\else
\ecv@skypekey &\ecv@skype \tabularnewline[5pt]
\fi
+\ifx\@empty\ecv@matrixriot\else
+\ecv@matrixriotkey &\ecv@matrixriot \tabularnewline[5pt]
+\fi
\ifx\@empty\ecv@youtube\else
\ecv@youtubekey &\ecv@youtube \tabularnewline[5pt]
\fi
@@ -639,7 +645,7 @@
% Text bullet
\newcommand{\ecvbullet}{\raisebox{.35ex}[0cm][0cm]{\tiny\textbullet}}
-
+
\newenvironment{europecv}{%
\ecvLeftColumnWidth{\ecv@leftcolwidth}
\setlength\arrayrulewidth{\ecv@rulewidth}
@@ -697,7 +703,7 @@
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
-
+
\newif\if@ecvitemstar
\newcommand\ecvitem{\@ifstar{\@ecvitemstartrue \@ecvitem}%
{\@ecvitemstarfalse\@ecvitem}}