I've only recently started to work with LaTeX.
I've seen the nice CV that it is possible to do with moderncv
, however I'm not able to change the color to purple. I do not understand why..
It works with other colors, blue, orange, etc..
\moderncvtheme[purple]{casual}
Anyone has any idea how to change to purple or why this is happening?
MWE:
\documentclass[11pt,a4paper]{moderncv}
% moderncv themes
\moderncvtheme[purple]{casual}
% character encoding
\usepackage[utf8]{inputenc} % replace by the encoding you are using
% adjust the page margins
\usepackage[scale=0.8]{geometry}
%\setlength{\hintscolumnwidth}{3cm}
\firstname{First Name}
\familyname{Family Name}
\title{Curriculum Vitae}
\begin{document}
\maketitle \\[-4.5em]
\section{Personal details}
\cvline{e-mail}{\small \\[-1.65em]
\cvline{mobile} {\small }\\[-1.65em]
\cvline{nationality}{\small }\\[-1.65em]
\cvline{date of birth}{\small }\\[-2.5em]
\end{document}
Best Answer
The
purple
color option was added in version 0.13.0 ofmoderncv
(released on November 06 2011).Depending on what LaTeX distribution you are using (yes, I am looking at Ubuntu < 12.10...), you might still be using a very outdated version of
moderncv
. Please check your.log
to find out if that is the cause of your issue, and update moderncv from ctan or launchpad accordingly.