gmazzamuto / europasscv

Unofficial LaTeX class for the new version of the Europass curriculum vitae
116 stars 37 forks source link

Problem number phone in ecl cover letter #59

Closed jeanbape closed 3 years ago

jeanbape commented 3 years ago

Hello,

Thank you for you classe.

I propose : \ifx\@empty\ecv@mobile \else \raisebox{-2\lineskip}{\includegraphics[width=0.4cm]{icons/mobile_europass_icon.pdf}}\hspace{0.2mm} {\fontseries{m}\selectfont \ecv@mobile}\quad \ifx\@empty\ecv@telephone \else \raisebox{-2\lineskip}{\includegraphics[width=0.4cm]{icons/telephone_europass_icon.pdf}}\hspace{0.2mm} {\fontseries{m}\selectfont \ecv@telephone}\quad \fi \fi

The last ecv@mobile -> ecv@telephone

Jean-Baptiste

Doc73 commented 3 years ago

Yes, it prints mobile number instead of phone number.

% !TeX program = xelatex
% !TeX encoding = UTF-8
% !TeX spellcheck = it_IT

\documentclass[english,a4paper]{europasscv}

\usepackage{fontspec}
    \setmainfont{FreeSans}
\usepackage{polyglossia}
    \setmainlanguage{english}
    \setotherlanguages{italian}

% PERSONAL INFO
\ecvname{Nome Cognome}
\ecvaddress{Via Bingo Pallino 3}
\ecvmobile{(+39) 111 1111111}
\ecvtelephone{(+39) 222 2222222}
\ecvemail{mail@mail.com}
\ecvhomepage{https://independent.academia.edu/DomenicoCufalo}
\ecvgithubpage{https://github.com/Doc73}
\ecvlinkedinpage{https://www.linkedin.com/in/name}

\begin{document}
\thispagestyle{empty}
\eclpersonalinfo

\ecladdressee{xxx}
    {xxxxx}
    {xxxxx}
    {xxxxx}

\eclcitydatesubject{xxx}
    {\today}
    {xxxxx}

\eclopeningsalutation{Dear Sir}
\eclmaincontent

{xxxxx.\smallskip}

{xxxxx.\smallskip}

{xxxxx.\smallskip}

\eclclosingsalutation{Yours sincerely}

\eclsignature

\end{document}
gmazzamuto commented 3 years ago

Thanks to both of you for reporting