Using moderncv, is it possible to change the font? I tried to load the Palatino font with:
\usepackage{mathpazo}
with no avail.
I'm using Tex Live 2011, and I compile the tex file with pdflatex
.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityPass the roman
option to moderncv:
\documentclass[roman]{moderncv}
\usepackage{mathpazo}
In this way only the titles will be in a sans serif font. If you want everything in Palatino,
\documentclass{moderncv}
\usepackage{mathpazo}
\renewcommand{\sfdefault}{\rmdefault}
moderncv
uses a sans serif font for the entire document. As far as I can tell, there is no sans serif font in mathpazo
, so you probably want to use the normal Palatino font in that package. To do that, you need to load the package change the sans serif font. Add
\usepackage{mathpazo}
\renewcommand{\sfdefault}{ppl}
at the end of your preamble.
moderncv
. What happens? Do you get an error message? Does it fail to compile? Does it compile, but use computer modern? Without more information, we can't help.