Every text font in LaTeX has five attributes:
The `local' encodings are intended for font encodings which are only locally available, for example a font containing an organisation's logo in various sizes.
There are far too many font families to list them all, but some common ones are:
The most common values for the font series are:
The most common values for the font shape are:
The font size is specified as a dimension, for example 10pt
or
1.5in
or 3mm
; if no unit is specified, pt
is assumed. These five
parameters specify every LaTeX font, for example:
These five parameters are displayed whenever LaTeX gives an overfull box warning, for example:
Overfull \hbox (3.80855pt too wide) in paragraph at lines 314--318 []\OT1/cmr/m/n/10 Normally [] and [] will be iden-ti-cal,The author commands for fonts set the five attributes:
The values used by these commands are determined by the document class, using the parameters defined in Section 2.4.
Note that there are no author commands for selecting new encodings.
These should be provided by packages, such as the fontenc
package.
This section does not explain how LaTeX font specifications are turned into TeX font names. This is described in Section 4.