Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

My document begins:

\RequirePackage{fix-cm}
\RequirePackage[l2tabu, orthodox]{nag}
\documentclass[oneside]{memoir}  % TODO 12pt

Nevertheless, I get errors:

LaTeX Font Info:    Font shape `OMS/cmr/m/n' in size <10> not available 
(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 139.

How do I fix these?

Looking closely at the document, these are caused by something in the itemize environment (the bullet symbol?), the copyright symbol, and something in my bibliography.

share|improve this question
    
It's not an error. Please, add some lines that produce the warning. –  egreg Jul 2 '12 at 20:57
    
@egreg: updated the question. Is there a way to suppress these errors? –  Neil G Jul 2 '12 at 21:05
add comment

1 Answer

up vote 8 down vote accepted

The warning is completely innocuous and is typically generated the first time an itemize environment is used. There are two ways to avoid it:

\usepackage[T1]{fontenc}

or

\usepackage{textcomp}

I suggest to load both.

In both cases the bullet is mapped to a text glyph and LaTeX doesn't need to resort to math mode for printing it.

Note that fix-cm is not needed when lmodern is used as its works is made useless by later loading a completely different font family.

share|improve this answer
    
Thanks, this worked perfectly! (I already had fontenc, so textcomp was needed as well.) Should I load fix-cm, or lmodern? –  Neil G Jul 2 '12 at 21:08
    
The choice between fix-cm and lmodern is up to your personal tastes. Computer Modern and Latin Modern fonts are very similar anyway. –  egreg Jul 2 '12 at 21:10
1  
@NeilG: I would recommend lmodern. –  Mico Jul 2 '12 at 21:11
    
@mico: just out of curiosity (and perhaps this would make a good question) but why? –  Neil G Jul 2 '12 at 21:12
    
@NeilG: The lmodern package comes with a lot more glyphs than does cmodern (whether or not the latter is "fixed up" by loading fix-cm as well). The additional complement of glyphs is, admittedly, not important if you use mainly English and have little need for accented characters. –  Mico Jul 2 '12 at 21:15
show 1 more comment

Your Answer

 
discard

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.