PageRenderTime 60ms CodeModel.GetById 29ms RepoModel.GetById 0ms app.codeStats 0ms

LaTeX | 275 lines | 229 code | 43 blank | 3 comment | 0 complexity | 755cb12be08f4d387d9d30f5de5e42ac MD5 | raw file
  1. \documentclass[a4paper,nodocument,nologo,notitle,black,12pt]{europasscv}
  2. \usepackage[T1]{fontenc}
  3. \usepackage{lmodern}
  4. \usepackage{tikz}
  5. \ifpdf
  6. \hypersetup{
  7. colorlinks = true
  8. }
  9. \fi
  10. % \usepackage{showframe}
  11. \author{\small Giacomo Mazzamuto\\
  12. \href{}{\texttt{}}\\}
  13. \title{\small Documentation of the \LaTeX\ class\\
  14. \Large \textbf{\texttt{europasscv.cls}}\\
  15. \small{\href{}{\texttt{}}}\\
  16. \small \vspace{0.2cm} Version 2016-08-16
  17. }
  18. \newcommand{\bs}{\textbackslash}
  19. \begin{document}
  20. \maketitle
  21. \begin{abstract}
  22. 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, implementing the major style updates that came out in 2013.
  23. \end{abstract}
  24. \tableofcontents
  25. \clearpage
  26. \section{Introduction}
  27. 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{}} class which is an implementation of the previous layout.
  28. 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 and spoken languages 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{}.}.
  29. This class tries to be as close as possible to the standard model without sacrificing flexibility. Although it is primarily intended for users of 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.
  30. The main differences compared to the official model are the use of Helvetica (which should be in any standard \LaTeX\ distribution) instead of Arial, and the use of vector images instead of low-resolution bitmaps.
  31. \section{Tutorial}
  32. Let's start with a minimal (empty) curriculum vitae:
  33. \begin{verbatim}
  34. \documentclass[english,a4paper]{europasscv}
  35. \begin{document}
  36. \begin{europasscv}
  37. \end{europasscv}
  38. \end{document}
  39. \end{verbatim}
  40. Now you can start writing your CV by entering first of all your personal information and then adding sections and items as described below.
  41. For a complete list of usable class options see section \ref{sec:classOptions}.
  42. \subsection{Personal information}
  43. \ecvname{Name Surname}
  44. \ecvtelephone[(+555) 340 123]{(+555) 555 555}
  45. \hypersetup{urlcolor=black}
  46. \ecvemail{}
  47. \ecvhomepage{}
  48. \ecvaddress{rue Wiertz, B-1047 Brussels}
  49. \ecvim{AOL Messenger}{betty.smith}
  50. \ecvim{Google Talk}{bsmith}
  51. \ecvdateofbirth{1 January 1970}
  52. \ecvnationality{English}
  53. \ecvgender{Female}
  54. \hspace*{-6cm}
  55. \ecvLeftColumnWidth{90mm}
  56. \ecvColSep{10pt}
  57. \begin{minipage}{20cm}
  58. \begin{europasscv}
  59. \ecvpersonalinfo
  60. \end{europasscv}
  61. \end{minipage}
  62. \bigskip
  63. \noindent
  64. The \emph{Personal information} section shown above is specified with the commands:
  65. \begin{verbatim}
  66. \ecvname{Name Surname}
  67. \ecvaddress{rue Wiertz, B-1047 Brussels}
  68. \ecvtelephone[(+555) 340 123]{(+555) 555 555}
  69. \ecvemail{}
  70. \ecvhomepage{}
  71. \ecvim{AOL Messenger}{betty.smith}
  72. \ecvim{Google Talk}{bsmith}
  73. \ecvdateofbirth{1 January 1970}
  74. \ecvnationality{English}
  75. \ecvgender{Female}
  76. \end{verbatim}
  77. and then typeset inside the \texttt{europasscv} environment with:
  78. \begin{description}
  79. \item[\texttt{\bs ecvpersonalinfo}]
  80. \end{description}
  81. A photo can be added with the command:
  82. \begin{description}
  83. \item[\texttt{\bs ecvpicture[\textit{options}]\{\textit{filename}\}}]
  84. \end{description}
  85. The provided options are passed to \texttt{\bs includegraphics}. By default, the photo is placed to the right. To place it to the left, add the following command:
  86. \begin{description}
  87. \item[\texttt{\bs ecvpictureleft}]
  88. \end{description}
  89. \hypersetup{urlcolor=magenta}
  90. \subsection{Sectioning and item commands}
  91. 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.
  92. Use the following simple commands to add items and sections to your CV:\\
  93. \ecvLeftColumnWidth{50mm}
  94. \hspace*{-6.4cm}
  95. \ecvLeftColumnWidth{90mm}
  96. \ecvColSep{10pt}
  97. \begin{minipage}{20cm}
  98. \begin{europasscv}
  99. \makeatletter
  100. \@ecvitemskiptrue
  101. \makeatother
  102. \ecvbigitem{Job applied for}{ecvbigitem}
  103. \ecvsection{ecvsection}
  104. \ecvtitle{apr 2012 -- apr 2014}{ecvtitle}
  105. \ecvitem{}{ecvitem: this is the standard CV item}
  106. \ecvitem{}{ecvitem with some \ecvhighlight{highlighted} text}
  107. \ecvitem{ecvitemize}{
  108. \begin{ecvitemize}
  109. \item this is a list item
  110. \item this is a list item
  111. \end{ecvitemize}
  112. }
  113. \ecvblueitem{blue left text}{ecvblueitem}
  114. \ecvtitlelevel{apr 2012 -- apr 2014}{ecvtitlelevel}{ISCED 6}
  115. \ecvitem{ecvitem}{Item description}
  116. \ecvitem{ecvitem}{\ecvhighlightcell{highlighted cell}}
  117. \end{europasscv}
  118. \end{minipage}
  119. \begin{description}
  120. \item[\texttt{\bs ecvsection[\textit{vspace}]\{\textit{title}\}}] Start a new section with the given \textit{title}.
  121. \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.
  122. \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.
  123. \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.
  124. \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.
  125. \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.
  126. \end{description}
  127. 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:
  128. \begin{description}
  129. \item[\texttt{\bs ecvhighlight\{\textit{some text}\}}]
  130. \end{description}
  131. To hihghlight the background of a cell, use this command instead:
  132. \begin{description}
  133. \item[\texttt{\bs ecvhighlightcell\{\textit{some text}\}}]
  134. \end{description}
  135. For example:
  136. \begin{description}
  137. \item[\texttt{\bs ecvitem\{\textit{left}\}\{\texttt{\bs ecvhighlightcell\{\textit{some text}\}\}}}]
  138. \end{description}
  139. Finally, if you want to put an itemize list in one CV entry, use the \texttt{ecvitemize} environment for a better alignment with the text in the left column:
  140. \begin{verbatim}
  141. \ecvitem{left text}{
  142. \begin{ecvitemize}
  143. \item this is a list item
  144. \item this is a list item
  145. \end{ecvitemize}
  146. }
  147. \end{verbatim}
  148. \subsection{Language skills}
  149. 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:
  150. \begin{verbatim}
  151. \ecvmothertongue{English}
  152. \ecvlanguageheader
  153. \ecvlanguage{French}{C1}{C2}{B2}{C1}{C2}
  154. \ecvlanguagecertificate{Diplôme d'études en langue française (DELF) B1}
  155. \ecvlastlanguage{German}{A2}{A2}{A2}{A2}{A2}
  156. \ecvlanguagefooter
  157. \end{verbatim}
  158. which is typeset like this:
  159. \vspace{0.5cm}
  160. \hspace*{-7cm}
  161. \ecvLeftColumnWidth{80mm}
  162. \ecvColSep{10pt}
  163. \begin{minipage}{21cm}
  164. \begin{europasscv}
  165. \ecvmothertongue{English}
  166. \ecvlanguageheader
  167. \ecvlanguage{French}{C1}{C2}{B2}{C1}{C2}
  168. \ecvlanguagecertificate{Diplôme d'études en langue française (DELF) B1}
  169. \ecvlastlanguage{German}{A2}{A2}{A2}{A2}{A2}
  170. \ecvlanguagefooter
  171. \end{europasscv}
  172. \end{minipage}
  173. \section{Advanced usage}
  174. \subsection{Class options}
  175. \label{sec:classOptions}
  176. \subsubsection{Appearance options}
  177. \begin{description}
  178. \item[\texttt{black}] Typeset CV entries in black instead of \texttt{ecvtextcolor} (see \ref{sec:colors}).
  179. \item[\texttt{nodocument}] Do not apply the class settings (i.e.\ margins, headers and footers) at \texttt{\bs begin\{document\}}.
  180. \item[\texttt{nologo}] Do not draw the Europass logo.
  181. \item[\texttt{notitle}] Do not typeset the title ``Curriculum vitae''.
  182. \end{description}
  183. The following options affect the font used:
  184. \begin{description}
  185. \item[\texttt{narrow}] Use the Condensed Helvetica font instead of Helvetica.
  186. \item[\texttt{bigfont}] Use a sligtly bigger font than the one found in the official Europass CV.
  187. \end{description}
  188. \subsubsection{Language options}
  189. 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.
  190. % In some cases, it may affect the used alphabet (e.g. in Bulgarian).
  191. 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.
  192. % The use of \textsf{babel} is mandatory for Greek (see the Greek language option above).
  193. The following language options are currently supported:
  194. \texttt{english}, \texttt{french}, \texttt{german}, \texttt{italian}, \texttt{portuguese}, \texttt{slovenian}, \texttt{spanish}.
  195. 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{}} package are a good starting point.
  196. \subsubsection{Debugging}
  197. 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.
  198. \subsection{Color palette}
  199. \label{sec:colors}
  200. The following colors are defined in the package:
  201. {%
  202. \newcommand{\colpic}[1]{\tikz \draw[fill=#1,ultra thick,#1] (0,0) rectangle (0.5,0.5);}
  203. \newcommand{\colrow}[1]{\texttt{#1} & \colpic{#1} & \extractcolorspecs{#1}{\model}{\mycolor}%
  204. \convertcolorspec{\model}{\mycolor}{HTML}\tmp\texttt{\tmp}}
  205. \renewcommand{\arraystretch}{1.5}
  206. \newcommand{\mc}[2]{\multicolumn{#1}{#2}}
  207. \begin{center}
  208. \begin{tabu} {X[1,r,m] X[0.3,c,m] X[1,l,m]}
  209. color name & sample & HTML code\\
  210. \hline
  211. \colrow{ecvrulecolor}\\
  212. \colrow{ecvsectioncolor}\\
  213. \colrow{ecvhighlightcolor}\\
  214. \colrow{ecvhighlightcellcolor}\\
  215. \colrow{ecvtablebordercolor}\\
  216. \colrow{ecvlanglinkcolor}\\
  217. \colrow{ecvtextcolor}\\
  218. \tabuphantomline
  219. \end{tabu}
  220. \end{center}
  221. }%
  222. You can use these colors wherever you want in your document like this
  223. \begin{verbatim}
  224. \textcolor{colorname}{ Some text }
  225. \end{verbatim}
  226. There is also a convenience command \texttt{\bs ecvhighlight\{ Some text \}} which typesets text in \texttt{ecvhighlightcolor}.
  227. \section{Copyright and license}
  228. Europass and the Europass logo are copyright of the European Union.\footnote{See \url{} for more information.} The \texttt{europasscv} class is released under The \LaTeX\ Project Public License version 1.3.\footnote{\url{}.}
  229. \section{Acknowledgements}
  230. 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.
  231. 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).
  232. \end{document}