TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created i cv using the package moderncv. I also would like to create a letter. So far i used scrlttr2 package, but it uses a different font than moderncv, so it looks inconsistent. So my question is how do i set the same font.

share|improve this question
If i remember correctly the moderncv template itself has latex code to typeset the covering letter in the last page. you can uncomment them when you need – texenthusiast Jun 26 '12 at 18:07
up vote 14 down vote accepted

Actually, a combination of the two answers given will give the desired result:


% ---- beginning of relevant part
\usepackage{lmodern}% Latin Modern typeface (font)
\usepackage[T1]{fontenc}% T1 font encoding for high quality font output

\renewcommand{\familydefault}{\sfdefault}% Latin Modern's sans serif font family as default
% ---- end of relevant part

\usepackage[english]{babel}% needed for scrlttr2

\usepackage{lipsum}% just for dummy text


The font size doesn't really matter, but you could change it with an option to \documentclass.

Here's what's happening in moderncv.cls:

l. 53ff:

% font type options

l. 61f:

% execute default options

l. 85ff:

% automatic loading of latin modern fonts if present on the system
share|improve this answer

In moderncv class I found the standard font sans 11pt

You can use that with

share|improve this answer

Use the lmodern Font, which is the standard in moderncv (moderncv.cls, line 86)

share|improve this answer
A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). – doncherry Jun 26 '12 at 18:23
arg, that's what I wanted... seems I missed the button. – Juri Robl Jun 26 '12 at 19:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.