Debian Codegraph @

texmf-dist/doc/latex/europasscv/europasscv.tex

raw
1 \documentclass[a4paper,nodocument,nologo,notitle,black,12pt]{europasscv}
2 \usepackage[T1]{fontenc}
3 \usepackage{lmodern}
4 \usepackage{tikz}
5 \usepackage{tabu}
6 \usepackage{metalogo}
7
8 \ifpdf
9 \hypersetup{
10 colorlinks = true
11 }
12 \fi
13
14 % \usepackage{showframe}
15
16 \date{October 31, 2020}
17
18 \author{Giacomo Mazzamuto\\
19 {\href{mailto:[email protected]}{\texttt{[email protected]}}}\\}
20 \title{ Documentation of the \LaTeX\ class\\
21 \Large{\textbf{\texttt{europasscv.cls}}}\\
22 \normalsize{\href{https://www.devrandom.it/software/europasscv}{\texttt{https://www.devrandom.it/software/europasscv}}}\\
23 \vspace{0.2cm} Version 2020-10-31
24 }
25
26 \newcommand{\bs}{\textbackslash}
27
28
29 \begin{document}
30 \maketitle
31 \clearpage
32
33 \begin{abstract}
34 This paper describes how to use europasscv.cls, a \LaTeX\ document class for typesetting a curriculum vitae according to the Europass initiative of the European Commission. This is an unofficial implementation of that format, featuring the major style updates that came out in 2013.
35
36 \end{abstract}
37
38 \tableofcontents
39
40 \section{Introduction}
41 This class is an unofficial \LaTeX\ implementation of the the \emph{Europass~CV\/}, the standard model for curriculum vitae as recommended by the European Commission. The Europass~CV replaces the European CV, launched in~2002. In 2013 a major revision of the Europass~CV came out, featuring a neater, more compact and somewhat fancier layout. This class is an implementation of the 2013 version of that layout and is based on the \textsf{europecv}\footnote{\url{https://ctan.org/pkg/europecv}} class (which is an implementation of the previous layout).
42
43 The Europass~CV defines both the content and the layout of a curriculum vitae. The \textsf{europasscv} class provides support for the latter, and for the former as far as personal information, spoken languages and digital competences are concerned. If you want to know how the content of a Europass~CV is structured, refer to the documentation provided by the Europass website\footnote{\url{https://europass.cedefop.europa.eu/en/documents/curriculum-vitae/templates-instructions}.}.
44
45 This class tries to be as close as possible to the standard model without sacrificing flexibility. Although it is primarily intended for users in the European Union, the class can be used for any kind of curriculum vitae (possibly with the options \texttt{notitle} and \texttt{nologo}, see below), or even for other kinds of documents.
46
47 \section{Tutorial}
48 Let's start with a minimal (empty) curriculum vitae:
49 \begin{verbatim}
50 \documentclass[english,a4paper]{europasscv}
51 \begin{document}
52 \begin{europasscv}
53 \end{europasscv}
54 \end{document}
55 \end{verbatim}
56
57 Now you can start writing your CV by entering first of all your personal information and then adding sections and items as described below.
58
59 For a complete list of usable class options see section \ref{sec:classOptions}.
60
61 % \enlargethispage{2\baselineskip}
62
63 \subsection{Personal information}
64 \ecvname{Name Surname}
65 \ecvtelephone{(+555) 555 555\newline}
66 \ecvworkphone{(+555) 123 456}
67 \ecvmobile{(+555) 340 123}
68 \ecvaddress{rue Wiertz, B-1047 Brussels}
69 \hypersetup{urlcolor=black}
70 \ecvemail{[email protected] [email protected]}
71 \ecvhomepage{www.myhomepage.com www.another.com}
72 \ecvgitpage{https://www.git.example.org/}
73 \ecvgithubpage{https://github.com/smith}
74 \ecvgitlabpage{https://gitlab.com/smith}
75 \ecvlinkedinpage{https://www.linkedin.com/in/smith}
76 \ecvorcid[label, link]{0000-0000-0000-0000}
77 \ecvim{AOL Messenger}{betty.smith}
78 \ecvim{Google Talk}{bsmith}
79 \ecvdateofbirth{1 January 1970}
80 \ecvnationality{English}
81 \ecvgender{Female}
82 \hspace*{-6cm}
83 \ecvLeftColumnWidth{90mm}
84 \ecvColSep{10pt}
85 \begin{minipage}{21cm}
86 \begin{europasscv}
87 \ecvpersonalinfo
88 \end{europasscv}
89 \end{minipage}
90
91 \bigskip
92 \noindent
93 The \emph{Personal information} section shown above is specified with the commands:
94 \begin{verbatim}
95 \ecvname{Name Surname}
96 \ecvaddress{rue Wiertz, B-1047 Brussels}
97 \ecvtelephone{(+555) 555 555}
98 \ecvmobile{(+555) 340 123}
99 \ecvworkphone{(+555) 123 456}
100 \ecvemail{[email protected] [email protected]}
101 \ecvhomepage{www.myhomepage.com www.another.com}
102 \ecvgitpage{https://www.git.example.org/}
103 \ecvgithubpage{https://github.com/smith}
104 \ecvgitlabpage{https://gitlab.com/smith}
105 \ecvlinkedinpage{https://www.linkedin.com/in/smith}
106 \ecvorcid[label, link]{0000-0000-0000-0000}
107 \ecvim{AOL Messenger}{betty.smith}
108 \ecvim{Google Talk}{bsmith}
109 \ecvdateofbirth{1 January 1970}
110 \ecvnationality{English}
111 \ecvgender{Female}
112 \end{verbatim}
113 and then typeset inside the \texttt{europasscv} environment with:
114 \begin{description}
115 \item[\texttt{\bs ecvpersonalinfo}]
116 \end{description}
117 Photos can be added with the following commands:
118 \begin{description}
119 \item[\texttt{\bs ecvpictureleft[\textit{options}]\{\textit{filename}\}}]
120 \item[\texttt{\bs ecvpictureright[\textit{options}]\{\textit{filename}\}}]
121 \end{description}
122 where options are passed to \texttt{\bs includegraphics}. The command \texttt{\bs ecvpicture} is an alias for \texttt{\bs ecvpictureleft}.
123
124 \hypersetup{urlcolor=magenta}
125
126 \subsection{Sectioning and item commands}
127 Sectioning commands should be used inside the \texttt{europasscv} environment. All of them have an optional argument that specifies how much vertical space to leave \emph{before} that command. Note that this is the opposite of what happened in the old \texttt{europecv} class.
128
129 Use the following simple commands to add items and sections to your CV:\\
130 \ecvLeftColumnWidth{50mm}
131 \hspace*{-6.4cm}
132 \ecvLeftColumnWidth{90mm}
133 \ecvColSep{10pt}
134 \begin{minipage}{20cm}
135 \begin{europasscv}
136 \ecvbigitem{Job applied for}{ecvbigitem}
137
138 \ecvsection{ecvsection}
139 \ecvtitle{apr 2012 -- apr 2014}{ecvtitle}
140 \ecvitem{}{ecvitem: this is the standard CV item. This is some \ecvhighlight{highlighted} text.}
141 \ecvitem{ecvitemize}{
142 \begin{ecvitemize}
143 \item this is a list item
144 \item this is a list item
145 \begin{ecvitemize}
146 \item this is a list item
147 \item this is a list item
148 \end{ecvitemize}
149 \end{ecvitemize}
150 }
151 \ecvblueitem{blue left text}{ecvblueitem}
152 \ecvtitlelevel{apr 2012 -- apr 2014}{ecvtitlelevel}{ISCED 6}
153 \ecvitem{ecvitem}{Item description}
154 \ecvitem{ecvitem}{\ecvhighlightcell{highlighted cell}}
155 \end{europasscv}
156 \end{minipage}
157
158 \begin{description}
159 \item[\texttt{\bs ecvsection[\textit{vspace}]\{\textit{title}\}}] Start a new section with the given \textit{title}.
160 \item[\texttt{\bs ecvitem[\textit{vspace}]\{\textit{left}\}\{\textit{right}\}}] Put \textit{left} text on the left part and \textit{right} text on the right part of the page. This is a standard CV item. Note that, in the 2013 version of the Europass CV, text on the left part is much less used than before. Still, it can be sometimes useful to put some text on the left.
161 \item[\texttt{\bs ecvtitle[\textit{vspace}]\{\textit{left}\}\{\textit{right}\}}] As above, but the text is typeset in blue and with a larger font on the right. This is used to highlight a block in your CV related to a same job or degree, with dates typically going on the left and job description or degree type on the right.
162 \item[\texttt{\bs ecvtitlelevel[\textit{vspace}]\{\textit{left}\}\{\textit{right}\}\{\textit{degree level}\}}] Allows to specify a national or international level for the awarded degree.
163 \item[\texttt{\bs ecvblueitem[\textit{vspace}]\{\textit{left}\}\{\textit{right}\}}] As a standard CV item, but text on the left is typeset in blue. This is mainly used in the second part of the CV.
164 \item[\texttt{\bs ecvbigitem[\textit{vspace}]\{\textit{left}\}\{\textit{right}\}}] As above, but typeset the left text in capital blue letters and the right text in a bigger font. This is rarely used.
165 \end{description}
166
167 If you want to highlight some text using the highlight color of the Europass CV palette (section \ref{sec:colors}), you may find this convenience command useful:
168 \begin{description}
169 \item[\texttt{\bs ecvhighlight\{\textit{some text}\}}]
170 \end{description}
171 To hihghlight the background of a cell, use this command instead:
172 \begin{description}
173 \item[\texttt{\bs ecvhighlightcell\{\textit{some text}\}}]
174 \end{description}
175 For example:
176 \begin{description}
177 \item[\texttt{\bs ecvitem\{\textit{left}\}\{\texttt{\bs ecvhighlightcell\{\textit{some text}\}\}}}]
178 \end{description}
179
180 Finally, if you want to put lists in one CV entry, use the \texttt{ecvitemize} and \texttt{ecvenumerate} environments for a better alignment with the text in the left column:
181 \begin{verbatim}
182 \ecvitem{left text}{
183 \begin{ecvitemize}
184 \item this is a list item
185 \item this is a list item
186 \end{ecvitemize}
187 }
188 \end{verbatim}
189 \enlargethispage{\baselineskip}
190
191
192 \subsection{Language skills}
193 The language skills table is usually found at the beginning of the ``Personal skills'' section of the Europass CV. The commands needed to typeset the language table are fully highlighted by the following example:
194
195 \begin{verbatim}
196 \ecvmothertongue{English}
197 \ecvlanguageheader
198 \ecvlanguage{French}{C1}{C2}{B2}{C1}{C2}
199 \ecvlanguagecertificate{Diplôme d'études en langue française (DELF) B1}
200 \ecvlastlanguage{German}{A2}{A2}{A2}{A2}{A2}
201 \ecvlanguagefooter
202 \end{verbatim}
203 which is typeset like this:
204
205 \vspace{0.5cm}
206 \hspace*{-7cm}
207 \ecvLeftColumnWidth{80mm}
208 \ecvColSep{10pt}
209 \begin{minipage}{21cm}
210 \begin{europasscv}
211 \ecvmothertongue{English}
212 \ecvlanguageheader
213 \ecvlanguage{French}{C1}{C2}{B2}{C1}{C2}
214 \ecvlanguagecertificate{Diplôme d'études en langue française (DELF) B1}
215 \ecvlastlanguage{German}{A2}{A2}{A2}{A2}{A2}
216 \ecvlanguagefooter
217 \end{europasscv}
218 \end{minipage}
219
220 \subsection{Digital competences}
221
222 This one is another self-assessment grid which allows to present digital competences.
223 It is divided into five categories.
224 For each of these, there are three competence levels available.
225 To create a self-assessment grid, a single command will suffice.
226 Additionally, convenient string definitions are provided to describe each level.
227 In the following, an example code snippet and the resulting CV entry is presented:
228
229 \begin{verbatim}
230 \ecvdigitalcompetence
231 {\ecvBasic}
232 {\ecvIndependent}
233 {\ecvProficient}
234 {\ecvIndependent}
235 {\ecvBasic}
236 \end{verbatim}
237
238 \vspace{0.5cm}
239 \hspace*{-6.5cm}
240 \begin{minipage}{21cm}
241 \begin{europasscv}
242 \ecvdigitalcompetence
243 {\ecvBasic}
244 {\ecvIndependent}
245 {\ecvProficient}
246 {\ecvIndependent}
247 {\ecvBasic}
248 \end{europasscv}
249 \end{minipage}
250
251 \subsection{Cover letter}
252 The package provides some convenience commands to typeset an accompanying cover letter in the same style of the CV. These commands start with \texttt{\bs ecl} and are analogous to those seen previously. Here follows a simple example on how to produce a cover letter; please refer to the full example available on GitHub.
253 \begin{verbatim}
254 \thispagestyle{empty}
255 \eclpersonalinfo
256
257 \ecladdressee{Contact person}
258 {Name of organization}
259 {Address of organization}
260 {City}
261
262 \eclcitydatesubject{City}
263 {\today}
264 {Subject of this cover letter}
265
266 \eclopeningsalutation{Dear Sir}
267 \eclmaincontent
268 {Opening salutation.\bigskip}
269
270 {This is the main content.}
271
272 {Closing salutation.}
273
274 \eclclosingsalutation{Yours sincerely}
275
276 \eclsignature
277 % \eclsignature[signature.jpg]
278 % \eclsignature[signature.jpg][Dr. Katie Smith]
279
280 \pagebreak \setcounter{page}{1}
281 \end{verbatim}
282
283 \section{Advanced usage}
284 \subsection{Bibliography}
285 Printing bibliography using \texttt{biblatex} is supported. Please refer to the provided source file for a working example of how to integrate \texttt{biblatex} with \texttt{europasscv}. Basically, in your preamble you need to use the \texttt{biblatex} package followed by
286 \begin{verbatim}
287 \usepackage{europasscv-bibliography}
288 \end{verbatim}
289 and then you can specify the bibliography source file as usual.
290
291 To print the bibliography, use the following commands:
292 \begin{verbatim}
293 \renewcommand{\section}[2]{\ecvsection{#2}}
294 \printbibtabular[title=Publications]
295 \end{verbatim}
296 where the first command is used to specify which kind of heading you want to use for the bibliography section. Finally, the following commands are defined in the \texttt{europasscv-bibliography} package:
297 \begin{description}
298 \item[\texttt{\bs ecvbibhighlight\{\textit{last name}\}\{\textit{first name}\}\{\textit{first name initial}\}}] mark the given name to be highlighted in bold in the bibliography
299 \end{description}
300
301 \subsection{Class options}
302 \label{sec:classOptions}
303 \subsubsection{Appearance options}
304 \begin{description}
305 \item[\texttt{black}] Typeset CV entries in black instead of \texttt{ecvtextcolor} (see \ref{sec:colors}).
306 \item[\texttt{nodocument}] Do not apply the class settings (i.e.\ margins, headers and footers) at \texttt{\bs begin\{document\}}.
307 \item[\texttt{nologo}] Do not draw the Europass logo.
308 \item[\texttt{notitle}] Do not typeset the title ``Curriculum vitae''.
309 \item[\texttt{nototpages}] Do not typeset total page count in the footer.
310 \end{description}
311
312 The following options affect the font used:
313 \begin{description}
314 \item[\texttt{narrow}] Use the Condensed Helvetica font instead of Helvetica.
315 \item[\texttt{bigfont}] Use a sligtly bigger font than the one found in the official Europass CV.
316 \end{description}
317 \subsubsection{Language options}
318 The options hereby described are not related to babel. The choice of the language only affects the appearance of labels appearing e.g.\ in the personal information section, the spoken language table and the footer.
319 % In some cases, it may affect the used alphabet (e.g. in Bulgarian).
320 If you want to use the hyphenation patterns for the language(s) of your choice, you must include the \textsf{babel} package in your document.
321 % The use of \textsf{babel} is mandatory for Greek (see the Greek language option above).
322
323 The following language options are currently supported:
324 \texttt{catalan}, \texttt{danish}, \texttt{english}, \texttt{czech}, \texttt{french}, \texttt{german}, \texttt{greek}\footnote{Requires \XeLaTeX\ or \LuaLaTeX.}, \texttt{hungarian}, \texttt{italian}, \texttt{norsk} (Norwegian Bokmål), \texttt{polish}, \texttt{portuguese}, \texttt{slovak}, \texttt{slo\-venian}, \texttt{spanish}, \texttt{turkish}.
325
326 If you need a different language, you must create a new \texttt{.def} file and add the corresponding \texttt{\textbackslash DeclareOption} in the class file. Please contribute your \texttt{.def} files so that they can be included in future updates. The \texttt{.def} files in the \texttt{europecv}\footnote{\url{https://ctan.org/pkg/europecv}} package are a good starting point.
327
328 \subsubsection{Fonts}
329 When using \LaTeX, the default font is \texttt{phv} or Helvetica. To override, use the \texttt{\bs ecvfont} command:
330 \begin{verbatim}
331 \ecvfont{lmr}
332 \end{verbatim}
333 When using \XeLaTeX\ or \LuaLaTeX, the default font is TeX Gyre Heros. To override, use:
334 \begin{verbatim}
335 \setmainfont{TeX Gyre Pagella}
336 \end{verbatim}
337
338 \subsubsection{Debugging}
339 If you are editing the class file you may find the \texttt{debug} option useful: if this option is specified, debug messages are printed on the terminal, the boxes making up the structure of the CV are highlighted with background colors, and the package \texttt{showframe} is loaded.
340
341 \subsection{Color palette}
342 \label{sec:colors}
343 The following colors are defined in the package:
344 {%
345
346 \newcommand{\colpic}[1]{\tikz \draw[fill=#1,ultra thick,#1] (0,0) rectangle (0.5,0.5);}
347 \newcommand{\colrow}[1]{\texttt{#1} & \colpic{#1} & \extractcolorspecs{#1}{\model}{\mycolor}%
348 \convertcolorspec{\model}{\mycolor}{HTML}\tmp\texttt{\tmp}}
349
350 \renewcommand{\arraystretch}{1.5}
351 \newcommand{\mc}[2]{\multicolumn{#1}{#2}}
352 \begin{center}
353 \begin{tabu} {X[1,r,m] X[0.3,c,m] X[1,l,m]}
354 color name & sample & HTML code\\
355 \hline
356 \colrow{ecvrulecolor}\\
357 \colrow{ecvsectioncolor}\\
358 \colrow{ecvhighlightcolor}\\
359 \colrow{ecvhighlightcellcolor}\\
360 \colrow{ecvtablebordercolor}\\
361 \colrow{ecvlanglinkcolor}\\
362 \colrow{ecvtextcolor}\\
363 \tabuphantomline
364 \end{tabu}
365 \end{center}
366 }%
367 You can use these colors wherever you want in your document like this
368 \begin{verbatim}
369 \textcolor{colorname}{ Some text }
370 \end{verbatim}
371 There is also a convenience command \texttt{\bs ecvhighlight\{ Some text \}} which typesets text in \texttt{ecvhighlightcolor}.
372
373 \subsection{Deprecated commands}
374 Using \texttt{\textbackslash ecvtelephone[\textit{mobile number}]\{\textit{number}\}} with the optional argument is deprecated. Please use \texttt{\textbackslash ecvmobile\{\textit{number}\}} and \texttt{\textbackslash ecvtelephone\{\textit{number}\}} instead.
375
376 \section{Copyright and license}
377 Europass and the Europass logo are copyright of the European Union.\footnote{See \url{https://europass.cedefop.europa.eu} for more information.} The \texttt{europasscv} class is released under The \LaTeX\ Project Public License version 1.3.\footnote{\url{https://ctan.org/license/lppl1.3}.}
378
379 \section{Acknowledgements}
380 Special thanks to \LaTeX\ enthusiast Francesco Biccari whom I had the pleasure to meet at LENS in Sesto Fiorentino and who provided useful comments and suggestions.
381
382 The following people contributed language definition files: Peter Fink (German); Nuno Vieira (Portuguese), Henry Ajquejay, Gast\'{o}n Simone and Pablo Rodriguez (Spanish); Ale\v s Zadravec (Slovenian); Jan Koprnick\'{y} (Czech); Lennart Jern (Swedish), Daniel Østergaard Andreasen (Danish), Roger Bassons Renart (Catalan); Andrei Troie (Romanian); Tümay Çeber (Turkish); Martin Štefaňák (Slovak).
383
384 The following people contributed code changes: Stanley Foerster, Andrzej \'{S}liwi\'{n}ski
385 \end{document}