Update (moderncv
v2.0)
moderncv
v2.0 uses latest version of fontawesome
, where the symbol \faCircleBlank
has been replaced by \faCircleO
, so
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\raisebox{1pt}{\tiny\faCircleBlank}}}
has to be replaced with
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\raisebox{1pt}{\tiny\faCircleO}}}
Original answer (works with older versions of moderncv
)
Add this line to your preamble
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\raisebox{1pt}{\tiny\faCircleBlank}}}
Complete MWE
% compile with LuaLaTeX
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage[ngerman]{babel}
\moderncvicons{awesome}
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\raisebox{1pt}{\tiny\faCircleBlank}}}
\firstname{John}
\familyname{Doe}
\begin{document}
\cvlistdoubleitem{Ultimate Frisbee}{Climbing}
\cvlistitem{Travelling in Europe, Asia and North America}
\end{document}
Output
P.S. As I said in my comment, this is not needed if you compile the document with pdflatex
, but just because in this case moderncv
turns the font to "marvosym"...
EDIT
To prevent errors when running it with pdflatex
it is better to encase
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\raisebox{1pt}{\tiny\faCircleBlank}}}
in a \ifxetexorluatex
...\fi
statement:
\ifxetexorluatex
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\raisebox{1pt}{\tiny\faCircleBlank}}}
\fi
so that the previous MWE becomes:
% compile with LuaLaTeX
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage[ngerman]{babel}
\moderncvicons{awesome}
\ifxetexorluatex
\renewcommand*{\labelitemi}{\strut\textcolor{color1}{\raisebox{1pt}{\tiny\faCircleBlank}}}
\fi
\firstname{John}
\familyname{Doe}
\begin{document}
\cvlistdoubleitem{Ultimate Frisbee}{Climbing}
\cvlistitem{Travelling in Europe, Asia and North America}
\end{document}
The font FontAwesome.otf
in TeX Live (January 2014) has version 3.1.0:
$ otfinfo --font-version $(kpsewhich FontAwesome.otf)
Version 3.1.0 2013
However icons.yml
shows that the glyph Skype
was created in version 3.2:
- name: Skype
id: skype
unicode: f17e
created: 3.2
categories:
- Brand Icons
The current version of FontAwesome is 4.0.3.
It can be downloaded from the project home page.
Then the following LaTeX code should do:
\usepackage{fontawesome}
\providecommand\faSkype{{\FA\symbol{"F17E}}}
Which font file is found by XeTeX?
XeTeX writes an extended DVI format that is converted by xdvipdfmx
to PDF.
If the latter program gets option -v
(be verbose), then it prints the location of the font files that are used by it. Options can be passed to xdvipdfmx
via option -output-driver
of XeTeX:
xelatex "-output-driver=xdvipdfmx -v" test
Then the found font file with path is printed on the console.
Best Answer
The following restores the missing
\faLinkedInSign
and\faCircleBlank
required under XeLaTeX (taken from Revision 29485 ofmoderncv
):Additionally I've added some more spaces after the symbols so that they don't seem as close to the tombstone information.
A forced
\fontsize{5}{5}
for using the FontAwesome fonts (via\FA
) seemed appropriate.