Math fonts in LaTeX
February 22, 2008 by adawes
Tired of Computer Modern or Times when you turn to LaTeX to document your hard work? This post outlines the relatively simple process of using another font that adds a bit more style to your documents. The general challenge is to find a font for the math that matches the text font. This is solved with the mathdesign package for LaTeX.
Incidentally, there is a nice overview of other text and math font pairings by Stephen G. Hartke hosted on ctan. Check it out to see a sample of my new favorite, Bitstream Charter, in action.
These instructions exist in various places on the internet, but as much for my sake as for anyone else’s, I’ll post them here as well. First, you will need the mathdesign package. Download mdbch.zip and mdcore.zip and put them in the root folder of your texmf tree. Unzip both, and run either “texhash” or “mktexlsr” (often one of these is aliased to the other, so either should work). Now you want to use “updmap” to update the font maps. You can do this by either adding a line like “Map mdbch.map” to your updmap.cfg file, or you can simply run updmap --enable Map mdbch.map. If you are root, the first may be easier, and more official. Otherwise, you’ll probably have to use the latter option. They both work equally well.
Finally, to use bitstream Charter in a LaTeX document, include the following lines in the beginning of your tex file:
\usepackage[T1]{fontenc}
\usepackage[bitstream-charter]{mathdesign}
Enjoy!