gmazzamuto / europasscv

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

Update to 2020 layout #60

Open lcarnevale opened 3 years ago

lcarnevale commented 3 years ago

Hey there,

Are you going to update this class with the Europass layout released in 2020?

Best, Lorenzo.

gmazzamuto commented 3 years ago

Hi, thanks for your interest in this class. That would be indeed great but requires some complex refactoring.. maybe in the future but I can't promise :)

MartinX3 commented 3 years ago

What's the difference to this? :) https://github.com/gsilano/EuropeCV

gmazzamuto commented 3 years ago

That's a simple CV based on the very first europass template from like 20 years ago. See this example here.

MartinX3 commented 3 years ago

Then it's weird that they say 2021

step21 commented 2 years ago

Then it's weird that they say 2021

Not really, it was updated in 2021 and 2020 with small fixes and translations, they do not say that it implements the new layouts.

bozzochet commented 2 years ago

Ciao, I don't know all the differences required in the 2020 layout. But I had to send a CV in the Europass format and they wanted this declaration: "According to law 679/2016 of the Regulation of the European Parliament of 27th April 2016, I hereby express my consent to process and use my data provided in this CV" in all the pages...

To do this in a "reasonable" way:

image

I had to patch your class as:

bozzo@MacBook-Pro-3:europasscv> git diff
diff --git a/src/europasscv.cls b/src/europasscv.cls
index 3ccdbc4..2d2af4c 100644
--- a/src/europasscv.cls
+++ b/src/europasscv.cls
@@ -297,6 +297,8 @@
   \fi
 \fi

+\newcommand\ecvlfootnote[1]{\def\ecv@lfoot{#1}}
+%\ecvlfootnote{\def\ecv@lfoot{\footnotesize{\@date}}}
 \def\ecv@lfoot{%
   \footnotesize{\@date}
 }

(don't know why the commented command (essentially copied by your for \cfoot) is not working...)

and

    \ecvlfootnote{}
    \ecvfootnote{\hspace{-0.29\textwidth}According to law 679/2016 of the Regulation of the European Parliament of 27th April 2016, I hereby express my consent to process and use \newline my data provided in this CV}

in my preamble.

I don't know if this helps and if could be useful to share.

Matteo

gmazzamuto commented 2 years ago

Thank you,

this is perhaps an easier solution, just put it inside the europasscv environment:

\documentclass[a4paper]{europasscv}

\begin{document}

\begin{europasscv}

\ecvitem{Item title}{This is an item}

\bigskip
According to law 679/2016 of the Regulation of the European Parliament of 27th April 2016, I hereby express my consent to process and use my data provided in this CV.
\end{europasscv}

\end{document} 
bozzochet commented 2 years ago

Ciao,

but is this then going to appear as a footer for all the pages?

Thanks, Matteo

Il giorno 31 gen 2022, alle ore 21:40, Giacomo Mazzamuto @.***> ha scritto:

Thank you,

this is perhaps an easier solution, just put it inside the europasscv environment:

\documentclass[a4paper]{europasscv}

\begin{document}

\begin{europasscv}

\ecvitem{Item title}{This is an item}

\bigskip According to law 679/2016 of the Regulation of the European Parliament of 27th April 2016, I hereby express my consent to process and use my data provided in this CV. \end{europasscv}

\end{document} — Reply to this email directly, view it on GitHub https://github.com/gmazzamuto/europasscv/issues/60#issuecomment-1026189494, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEM7XVGOZA3I4RUPWTH7HLTUY3XVVANCNFSM4WCUZ2OA. You are receiving this because you commented.

-- PhD. Matteo Duranti
INFN - Sez. Perugia Mobile: +393298574103 Office (CERN): 73438, From Outside +41227673438 Office (PG): +390755852722 Fax: +390759691723 Work Mail: @. @.> Work Mail: @. @.> Private or Big Attachments Mail: @. @.> Skype: bozzochet <skype:bozzochet?call> -- A revolution is not a dinner party, or writing an essay, or painting a picture, or doing embroidery; it cannot be so refined, so leisurely and gentle, so temperate, kind, courteous, restrained and magnanimous. A revolution is an insurrection, an act of violence... (Mao Zedong)

gmazzamuto commented 2 years ago

No, in that case it just appears where it is inserted.

Personally I would put the declaration only at the end of the document, but if you want it on every page as a footer you can just use \fancyfoot like this:

\documentclass[a4paper]{europasscv}

\begin{document}

\fancyfoot[L]{
\selectecvfont\footnotesize\textcolor{ecvhighlightcolor}{
    According to law 679/2016 of the Regulation of the European Parliament of 27th April 2016,
    I hereby express my consent to \\
    process and use my data provided in this CV.}
}

\begin{europasscv}

\ecvitem{Item title}{This is an item.}

\end{europasscv}

\end{document}
bozzochet commented 2 years ago

Ciao,

I would put only at the end as well. But I was inserted in a project (Italian PNRR) and a template (in Word!) as been provided and should be followed! I tried 20 minutes in Word then I decided that adapting my latex cv (already with a series of \if to move from moderncv to europasscv) would have however been less painful.

Your solution produces essentially the same output as mine but without patching the class!

Thanks a lot, Matteo