Skip to Content
Making TeX Work
book

Making TeX Work

by Norman Walsh
April 1994
Intermediate to advanced
522 pages
9h 12m
English
O'Reilly Media, Inc.
Content preview from Making TeX Work

Chapter 5. Fonts

All of the common TeX macro packages use the Computer Modern fonts by default. In fact, the Computer Modern fonts are so frequently used in TeX documents that some people believe they are the TeX fonts and that no other options are available.

This is not the case. In fact, using different fonts in TeX is quite easy. However, many interrelated font issues can be quite complicated, and it is possible to do things that make your documents print incorrectly (or make them unprintable).

This chapter explores all of the issues related to fonts and how these issues are resolved by a combination of font files, TeX macros, DVI drivers, and careful planning. At a high level, it works like this:

  1. TeX macros select a font (by assigning \font\fontid=fonttfm). The macros may be very simple or quite complex (as is the case in LaTeX's New Font Selection Scheme).
  2. TeX loads the metric information from fonttfm.tfm. Many implementations of TeX look for this file in the directories on the TEXFONTS path. TeX cannot process your document if it cannot find the TFM file.[53]
  3. TeX writes a DVI file. The DVI file contains the name of each font (the name of the TFM file) and the magnification used (magnification is discussed in the section “the section called “What TeX Needs To Know”” later in this chapter).
  4. The DVI driver attempts to locate font files for each font used at each magnification. Depending on the DVI driver, fonts can come from many places. Many drivers consult a list of built-in ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Easing the Invisible Burdens of Collaboration

Easing the Invisible Burdens of Collaboration

Rob Cross, Deborah Milstein

Publisher Resources

ISBN: 1565920511