I want to mention that next to moderncv there are the class europecv and the package koma-moderncv.
The class moderncv is on of the famous class creation CV. Sadly there are no documentation.
The package moderncv combines the benefits of the koma-script classes and the commands of moderncv.
The package europecv is a new package and is an unofficial class for European curricula vitae.
To answer this question I want to focus on moderncv.
At the beginning it is very important to know which packages will be loaded by moderncv
etoolbox, ifthen, color, fontenc[T1], marvosym, url, hyperref, fancyhdr,
graphicx, tweaklist
%via option
lmodern
The class provides thre predefined styles
- the style
casual (default)
- the style
classic
- the style
empty
The style empty has no special settings so the relevant styles are casual and classic.
The style can be load with the command \moderncvtheme[option]{style}. The allowed options for the style are:
- a color of the list:
blue, orange, green, red or grey (to set the default color of the style)
- the font roman (default the font is sans serif).
The personal date can be set by the following commands:
\firstname{} %required
\familyname{} %required
% optional
\title{}
\address{street and number}{postcode city}
\mobile{}
\phone{}
\fax{}
\email{}
\homepage{}
\extrainfo{}
\photo[height]{picture}
\quote{}
The predefined styles can be manipulate by the redefinition of the followings commands:
% symbols used
\listitemsymbol, \addresssymbol, \mobilesymbol, \phonesymbol, \faxsymbol,
\emailsymbol, \homepagesymbol,
% colors
\firstnamecolor, \familynamecolor, \titlecolor, \addresscolor, \quotecolor,
\sectionrectanglecolor, \sectiontitlecolor, \subsectioncolor, \hintcolor
% fonts
\firstnamefont, \familynamefont, \titlefont, \addressfont, \quotefont,
\sectionfont, \subsectionfont, \hintfont
% styles
\firstnamestyle, \familynamestyle, \titlestyle, \addresstyle, \quotestyle,
\sectionstyle, \subsectionstyle, \hintstyle
Examples with some explanation can be found on CTAN: moderncv-example with tex-file
\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[blue]{casual}
\usepackage[utf8]{inputenc}
\firstname{foo}
\familyname{bar}
\begin{document}
\maketitle
\section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\section{Languages}
\cvlanguage{English}{Skill level 0}{I try it}
\end{document}
Known Problems
To change the color of a predefined colors you must use:
\AtBeginDocument{%
\definecolor{firstnamecolor}{rgb}{0.5,0.3,0.8}
}
Manipulation of the predefined hyperref setup.
The class loads the package hyperref with the command AtBeginPreamble and set the command \hypersetup with \AtBeginDocument with the following predefined settings:
\AtBeginDocument{
\hypersetup{
breaklinks,
baseurl = http://,
pdfborder = 0 0 0,
pdfpagemode = UseNone,% do not show thumbnails or bookmarks on opening
% pdfstartview = FitH,
pdfstartpage = 1,
pdfcreator = \LaTeX{} with `moderncv' package,
pdfproducer = \LaTeX{},
bookmarksopen = true,
pdfauthor = \@firstname~\@familyname,
pdftitle = \@title,
pdfsubject = \@firstname~\@familyname,
pdfkeywords = \@firstname~\@familyname{} curriculum vit\ae{}}}
To change some of these settings in the preamble you can use:
\AtEndDocument{
\hypersetup{%
pdfcreator = My Name,
}
}
moderncvhas small slight deficits. I think in relation to this question we should create a parallel question for usingeuropecv. – Marco Daniel Oct 25 '11 at 15:46