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'm confused about the methods used to specify fonts using when more than one package is potentially involved. I understand that packages configure a variety of settings by default, and that different packages support different options (giving different degrees of control over these settings), but is there a general rule or best practice?

For example, once I've loaded a package for the serif font, what is the difference between then using




to select the typewriter font?

The implication of some documentation I've read (e.g., mathdesign, 4.3) is that that packages may do some things to ensure that the "low level" way of specifying additional families will work smoothly with that package.

So, once I've loaded one package, is it better to specify subsequent fonts using the second approach above, or the first?

share|improve this question
Font selection has little to do with fontenc; however Bera Mono fonts are available only in T1 encoding and require calling \usepackage[T1]{fontenc}. The difference is that \usepackage[scaled=...]{beramono} allows to specify a scaling factor, while \renewcommand{\ttdefault}{fvm} doesn't. Always prefer a "higher level" way of doing a thing. – egreg Mar 13 '12 at 14:24
Please, edit your question to better reflect what the problem is. – egreg Mar 13 '12 at 14:40
@egreg: Edited. – raxacoricofallapatorius Mar 13 '12 at 15:53
up vote 4 down vote accepted

Always use a higher level method, when available.

The main difference here is that


allows to specify a scaling factor, while \renewcommand{\ttdefault}{fvm} doesn't.

In the case of beramono you need also


because the font is available only in T1 encoding.

Section 4.3 of the mathdesign manual refers to low level commands but it shouldn't be taken as an authoritative source. For instance, the official manual "Using common PostScript fonts with LaTeX" (texdoc psnfss) says differently.

share|improve this answer

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.