Printing font tables
The last recipes showed how to print text in a particular font. This gives you a visual representation immediately. In addition, you may want to see the entire set of characters and symbols in a font. You can let LaTeX print a font table for you to achieve this.
Note
We will use the term glyph when we refer to the graphic representation of a particular character or symbol in a font.
How to do it...
The fonttable package can print the character set of a font in the shape of a table. It’s straightforward, as follows:
- In your document’s preamble, load the fonttable package:
\usepackage{fonttable}
- In the document’s body, use the following command to display the character table of the Zapf Dingbats font:
\fonttable{pzdr}
- Compile, and then you will see the following table in your document:
Figure 3.5 – The Zapf Dingbats character table
How it works...
The \fonttable command prints...