Contents
Where do I put the LaTeX files for my fonts?
Often fonts will come with files used to add LaTeX support for the fonts. Usually these files end in .fd or .sty. They should be put in subdirectories of the directory texmf/tex/latex (or in your current directory if you are not using texmf ).
Where can I find Metafont fonts for Tex?
Fonts provided in MetaFont source form are easy to set up for TeX, since they are built using a tool that is part of the TeX system. MetaFont font files generally have names ending in .mp.
What kind of fonts can I use in XeTeX?
Note that Xe (La)TeX natively supports PostScript Type 1, TrueType, and OpenType fonts, so that installation of fonts for XeTeX is much easier than the methods described here for ordinary TeX. Often fonts will come with files used to add LaTeX support for the fonts. Usually these files end in .fd or .sty.
How do I set up fonts in Tex?
The main part of the procedure for installing the fonts depends on what format they are provided in: MetaFont, Type 1, or TrueType. Fonts provided in MetaFont source form are easy to set up for TeX, since they are built using a tool that is part of the TeX system.
Which is the default serif font in latex?
A package such as tgpagella is a bit more complex, but the most interesting line for current purposes is. This sets the default serif font to qpl. This means that LaTeX will try to use a font in the default text encoding (OT1 by default or something else). To do this, it looks for a font definition file .fd.
How does a font metric file work in latex?
Then LaTeX will look for a TeX Font Metric file ec-qplr-sc.tfm. This file provides LaTeX with a variety of information. In particular, it tells TeX the size of the box needed for each character and how to shift boxes left or right depending on which box comes immediately before or immediately after.