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.

I have installed cm-super from the command line in Ubuntu.

I can see the .pfb files in usr/share/texmf/fonts/type1/public/cm-super.

I am still not sure how to invoke them in LaTeX.

This page: http://www.tex.ac.uk/ctan/fonts/ps-type1/cm-super/INSTALL indicates that I have to manually update updmap files? Really? Is it that complicated?

Do I need to make sure of the presence of anything other than the .pfb files?

share|improve this question
    
What do you mean "installed from the command line"? If you did apt-get install cm-super then the neccessary updmap calls should have been executed automatically. –  Stephan Lehmke Dec 28 '12 at 3:47
    
Yes, that is exactly what I did. So it should be on there, I guess. So my question is how do I invoke those fonts in LaTeX? I tried \usepackage{cm-super} but got an error message. –  Paul Dec 28 '12 at 6:24
    
What happens if you compile a document with cm fonts? Normally, the cm super fonts should just be used automatically. –  Stephan Lehmke Dec 28 '12 at 6:29
add comment

2 Answers

up vote 9 down vote accepted

If the cm-super fonts are correctly installed they will be used automatically as soon as you try to use the computer modern fonts with T1-encoding. There is no need to invoke them in a special way. Try this document:

\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
blub
\end{document}

Then check the log-file. With cm-super you should see that at the end a cm-super font is mentioned:

J:/MiKTeX2.9/fonts/type1/public/cm-super/sfrm1000.pfb

Without cm-super there would be a .pk at this place.

share|improve this answer
    
Yes, that works. Thank you. This is very clear. cm-super is clearly in the log. –  Paul Dec 28 '12 at 13:24
add comment

with \usepackage[T1]{fontenc} in your preamble they are taken by default. Running the example with pdflatex

\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
foo
\end{document}

has the embedded cm-super font:

voss@shania:~/Test> pdffonts Namenlos-4.pdf
name                 type              encoding         emb sub uni object ID
-------------------- ----------------- ---------------- --- --- --- ---------
EOEABK+SFRM1000      Type 1            Custom           yes yes no       4  0
share|improve this answer
add 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.