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.

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

Almost all pre-configured fonts for PDFTeX are enabled with a \usepackage{...} statement, except cm-super. This package works like this: if you install it, it replaces all the T1 encoded (bitmap) Computer Modern fonts by default, and you can only use the originals if you create a map file without the cm-super entries, and use \pdfmapfile{nosuper.map} in your document.

Now the average LaTeX end user (like me) doesn't have a clue about what a map file is and doesn't care either. Is it possible to write a cm-super.sty package that enables these fonts when it is loaded, and the default fonts stay the same?

Note: I know that this is not very important because there is lmodern, but... whatever.

share|improve this question
up vote 1 down vote accepted

When you install the CM-Super font in a TeX distribution, the mapping for Type1 fonts is updated to use them. So, without manually disabling the loading of the map files done by updmap (usually in the variant updmap-sys) on TeX Live or the equivalent method in MiKTeX, you'll have the fonts automatically mapped to their Type1 correspondent.

Therefore, writing a package that loads the CM-Super fonts on demand is not possible, without doing (nasty) things with one's own TeX distribution.

On the other hand, you can easily make a package nocmsuper.sty that avoids using the CM-Super fonts, but I don't see why you would.


to be loaded as soon as possible, before any box is typeset.

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.