I was requested to re-write my CV in the Europass format, and I would like to do it using (preferably) XeLaTeX. I came across the europecv
package, which seems to do the job just fine, but I would like to know if there are any better, more complete and up-to-date package to achieve a nice result.
[Tex/LaTex] Europass CV in (Xe)LaTeX
cveuropecvpackagestemplatesxetex
Related Solutions
Hard way ahead. Put this in your preamble
\makeatletter
\newcommand*{\ecvskype}[1]{\def\ecv@skype{#1}}
\renewcommand{\ecvpersonalinfo}[1][20pt]{%
& \tabularnewline[20pt]
\textcolor{torea-bay}{\MakeUppercase{\ecv@infosectionkey}} & \LARGE\ecv@name\tabularnewline[10pt]
\ifx\@empty\ecvdrawpicture &\else
\ecv@beforepic\ecvdrawpicture\ecv@afterpic &
\fi
\ifx\@empty\ecv@address\else
$\begin{array}{@{}l}\includegraphics[width=\ecv@iconwidth]{ic_address}\end{array}$\ecv@address\par\vspace{5pt}
\fi
\ifx\@empty\ecv@mobile\else
$\begin{array}{@{}l}\includegraphics[width=\ecv@iconwidth]{ic_mobile}\end{array}$\ecv@mobile
\ifx\@empty\ecv@telephone\else\qquad\includegraphics[width=\ecv@iconwidth]{ic_phone_home} \ecv@telephone\fi
\par\vspace{5pt}
\fi
\ifx\@empty\ecv@emailid\else
$\begin{array}{@{}l}\includegraphics[width=\ecv@iconwidth]{ic_email}\end{array}$
\ifx\@empty\ecv@emailtext
\href{mailto:\ecv@emailid}{\foreignlanguage{english}{\ecv@emailid}}
\else
\href{mailto:\ecv@emailid}{\ecv@emailtext}
\fi
\par\vspace{5pt}
\fi
\ifx\@empty\ecv@homepage\else
$\begin{array}{@{}l}\includegraphics[width=\ecv@iconwidth]{ic_url}\end{array}$\ecv@homepage\par\vspace{5pt}
\fi
\ifx\@empty\ecv@linkedin\else
$\begin{array}{@{}l}\includegraphics[width=\ecv@iconwidth]{ic_linkedin}\end{array}$%
\ecv@linkedin\par\vspace{5pt}
\fi
\ifx\@empty\ecv@skype\else
$\begin{array}{@{}l}\includegraphics[width=\ecv@iconwidth]{skype}\end{array}$%
\ecv@skype\par\vspace{10pt}
\fi
\ifx\@empty\ecv@gender
\ifx\@empty\ecv@birth
\ifx\@empty\ecv@nationality
% false false false
\else
% false false true
\textcolor{curious-blue}{\ecv@nationalitykey} \ecv@nationality \par\vspace{5pt}
\fi
\else
%false true
\textcolor{curious-blue}{\ecv@birthkey} \ecv@birth
\ifx\@empty\ecv@nationality
% false true false
\par\vspace{5pt}
\else
% false true true
\textcolor{curious-blue}{\ | \ecv@nationalitykey} \ecv@nationality \par\vspace{5pt}
\fi
\fi
\else
% true
\textcolor{curious-blue}{\ecv@genderkey} \ecv@gender
\ifx\@empty\ecv@birth
\ifx\@empty\ecv@nationality
% true false false
\par\vspace{5pt}
\else
% true false true
\textcolor{curious-blue}{\ | \ecv@nationalitykey} \ecv@nationality \par\vspace{5pt}
\fi
\else
%true true
\textcolor{curious-blue}{\ | \ecv@birthkey} \ecv@birth
\ifx\@empty\ecv@nationality
% true true false
\par\vspace{5pt}
\else
% true true true
\textcolor{curious-blue}{\ | \ecv@nationalitykey} \ecv@nationality \par\vspace{5pt}
\fi
\fi
\fi
\tabularnewline[#1]
}
\makeatother
and download skype icon (say from this link and later use
\ecvlinkedin{\href{LinkedIn public profile URL}{LinkedIn public profile URL without ``http://''}}
\ecvskype{\href{Skype}{Skype details}}
Surgical way:
Add these
\usepackage{xpatch}
\makeatletter
\newcommand*{\ecvskype}[1]{\def\ecv@skype{#1}}
\xpatchcmd{\ecvpersonalinfo}
{\ecv@linkedin\par\vspace{10pt}
\fi}
{\ecv@linkedin\par\vspace{5pt}
\fi
\ifx\@empty\ecv@skype\else
$\begin{array}{@{}l}\includegraphics[width=\ecv@iconwidth]{skype}\end{array}$%
\ecv@skype\par\vspace{10pt}
\fi}
{}
{}
\makeatother
Full code:
\documentclass[helvetica,english,logo,notitle,totpages,utf8]{europecv2013}
\usepackage{graphicx}
\usepackage[a4paper,top=1.2cm,left=1.2cm,right=1.2cm,bottom=2.5cm]{geometry}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{xpatch}
\makeatletter
\newcommand*{\ecvskype}[1]{\def\ecv@skype{#1}}
\xpatchcmd{\ecvpersonalinfo}
{\ecv@linkedin\par\vspace{10pt}
\fi}
{\ecv@linkedin\par\vspace{5pt}
\fi
\ifx\@empty\ecv@skype\else
$\begin{array}{@{}l}\includegraphics[width=\ecv@iconwidth]{skype}\end{array}$%
\ecv@skype\par\vspace{10pt}
\fi}
{}
{}
\makeatother
%[Tutti i campi del CV sono facoltativi. Rimuovere i campi vuoti.]
\ecvname{Replace with First name(s) Surname(s)}
\ecvaddress{Replace with house number, street name, city, postcode, country}
\ecvtelephone[Replace with telephone number]{Replace with mobile number}
\ecvemail{State e-mail address}
\ecvhomepage{\href{Homepage URL}{Homepage URL without ``http://''}}
\ecvlinkedin{\href{LinkedIn public profile URL}{LinkedIn public profile URL without ``http://''}}
\ecvskype{\href{Skype}{Skype details}}
\ecvgender{Enter sex}
\ecvdateofbirth{dd/mm/yyyy}
\ecvnationality{Enter nationality/-ies}
\ecvfootnote{© European Union, 2002-2015 | http://europass.cedefop.europa.eu}
%\ecvbeforepicture{\raggedleft}
%\ecvpicture[width=2.5cm]{file-immagine-eps}
%\ecvafterpicture{\ecvspace{-37mm}}
\begin{document}
\selectlanguage{english}
\begin{europecv}
\ecvpersonalinfo[10pt]
\ecvposition{Job applied for
Position
Preferred kob
Studies applied for}{Replace with job applied for / position / preferred job / studies applied for (delete non relevant headings in left column)}
\ecvsection{Work experience}
%[Add separate entries for each experience. Start from the most recent.]
\ecvworkexperience{Replace with dates (from - to)}{Replace with occupation or position held}{Replace with employer’s name}{Replace with employer’s locality (if relevant, full address and website)}{Replace with main activities and responsibilities}
\ecvsection{Education and training}
%[Add separate entries for each course. Start from the most recent.]
\ecveducation{Replace with dates (from - to)}{Replace with qualification awarded}{Replace with education or training organisation’s name and locality (if relevant, country)}{
Replace with a list of principal subjects covered or skills acquired}{Replace with EQF (or other) level if relevant}
\end{europecv}
\end{document}
If you want to modify the .cls
file which is not a good idea as your modifications will be overwritten with an update, here is how to jump in to the sea. First save a copy of europecv2013.cls
and name it myeuropecv2013.cls
After line 355, say add these
\newcommand*{\ecvlinkedin}[1]{\def\ecv@linkedin{#1}} %% this line is reference
\newcommand*{\ecvskype}[1]{\def\ecv@skype{#1}} %% <---add
and then add \ecvlinkedin{}
after line 393. Then in command
\providecommand{\ecvpersonalinfo}[1][20pt]{%
on line 390, below
\ifx\@empty\ecv@linkedin\else
$\begin{array}{@{}l}\includegraphics[width=\ecv@iconwidth]{ic_linkedin}\end{array}$\ecv@linkedin\par\vspace{10pt}
\fi
(lines 416-418), add these
\ifx\@empty\ecv@skype\else
$\begin{array}{@{}l}\includegraphics[width=\ecv@iconwidth]{skype}\end{array}$%
\ecv@skype\par\vspace{10pt}
\fi
BTW change \ecv@linkedin\par\vspace{10pt}
to \ecv@linkedin\par\vspace{5pt}
Then save myeuropecv2013.cls and use
\documentclass{myeuropecv2013}
There is nothing in the code to allow to replace this. So you would have to replace the pdf logo of the pdf or to copy the page style definitions and change them. You can adapt the \parbox to your need (e.g. move it up and down with \raisebox) but the width should be the same as the graphic.
\documentclass[english,a4paper]{europasscv}% optional: nologo
\usepackage[english]{babel}
\makeatletter
\AtBeginDocument{%
\fancypagestyle{ecvfancy}{
\setlength{\headheight}{13.5pt}
% \setlength{\footskip}{8.4pt}
\fancyhead{}
\fancyhead[R]{
\raggedleft \selectecvfont \textcolor{ecvhighlightcolor}{\ecv@name}
}
\fancyhead[L]{
\setlength{\difflength}{\ecv@leftcolwidth}
\addtolength{\difflength}{-0.6\ecv@logowidth}
\noindent
\begin{minipage}{0.5\textwidth}
\noindent\makebox[\ecv@leftcolwidth][l]{\noindent\raisebox{-6.5pt}[0pt][0pt]{\if@ecvlogo
%\includegraphics[width=0.6\ecv@logowidth]{europasslogo2013.pdf}
\parbox[b]{0.6\ecv@logowidth}{some text second page\\ some text}%
\else \hspace{0.6\ecv@logowidth}\fi}\hspace{\difflength}\hspace{\ecv@colsep}{\ifx\@empty\ecv@notitle \empty \else \ecvcoloredtitle \fi}}
\end{minipage}
}
}
\fancypagestyle{first}{
\fancyhead[R]{}
\fancyhead[L]{
\setlength{\difflength}{\ecv@leftcolwidth}
\addtolength{\difflength}{-\ecv@logowidth}
\noindent
\begin{minipage}{0.5\textwidth}
\noindent\makebox[\ecv@leftcolwidth][l]{\noindent\raisebox{-10.5pt}[0pt][0pt]{\if@ecvlogo%
%\includegraphics[width=\ecv@logowidth]{europasslogo2013.pdf}
\parbox[b]{0.6\ecv@logowidth}{some text title page \\ some text2}%
\else \hspace{\ecv@logowidth}\fi}\hspace{\difflength}\hspace{\ecv@colsep}{\ifx\@empty\ecv@notitle \empty \else \ecvcoloredtitle \fi}}
\end{minipage}
}
}
\pagestyle{ecvfancy}}
\makeatother
\ecvname{Katie Smith}
\ecvaddress{12 Strawberry Hill, Dublin 8 Éire/Ireland}
\ecvmobile{+353 555 123 555}
\ecvtelephone{+353 127 6689}
\ecvworkphone{+353 999 888 777}
\ecvemail{smith@kotmail.com another@email.com}
\ecvhomepage{www.myhomepage.com www.another-homepage.com}
% \ecvgithubpage{www.github.com/smith}
% \ecvlinkedinpage{www.linkedin.com/in/katie-smith}
\ecvim{AOL Messenger}{katie.smith}
\ecvim{Google Talk}{ksmith}
\ecvdateofbirth{1 March 1975}
\ecvnationality{Irish}
\ecvgender{Female}
% \ecvpicture[width=3.8cm]{picture.jpg}
% \date{}
\begin{document}
\begin{europasscv}
\ecvpersonalinfo
\ecvbigitem{Job applied for}{European project manager}
\newpage
\ecvbigitem{Job applied for}{European project manager}
\end{europasscv}
\end{document}
Best Answer
europecv
is indeed the package to use to typeset a Europass CV in LateX. If you're looking for some information, I wrote a post on my blog about it a few years back: http://www.raphink.info/2007/08/europecv-latex-cv-class.htmlThe post links to an example.