Section 40.1 Processing with
Fonts used by LaTeX come in encodings. The original encoding is known as
OT1and organizes glyphs (shapes of individual characters) 128 at a time. Since this puts regular Latin letters in one group, and accented letters into another group, this makes automatic hyphenation impossible if accented letters are used (as in many European countries and much of the Americas). The 1990 TeX Users Group (TUG) meeting in Cork, Ireland, formulated new and improved encodings. The
T1encoding is one result, and so it is known as the Cork encoding (and also as
EC). It groups 256 glyphs together at a time. So you need only know that a
T1encoding is better than an
OT1encoding. If you want to know more (much more), locate “LaTeX font encodings” by Mittlebach, Fairbairns, & Lemberg.
The LaTeX Font Catalogue
is a great resource for locating different fonts. The fonts and their packages are likely already installed (this information is provided), or there is enough information about how to install the package in a standard way. Each gives exact directions on how to enable the font for a document. For example, Iwona
, a sans-serif font with support for mathematics, can be employed as the document font simply by including the following in the preamble:
This suggested use of
fontencpackage (not to be confused with the
fontspecpackage) indicates the availability of a
Note: when the LaTeX Font Catalogue says “OTF or TTF available” then the font can also be used with
xelatex. When it says “OTF or TTF only” then the font cannot be used via
pdflatex. Read on.