TeX Tricks

Ten TeX Tricks for the Mathematician

I have written a paper called Ten TeX Tricks for the Mathematician, TUGboat, Communications of the TeX Users Group 14 (1993), 135-136. This paper is slightly outdated. Here is an updated version called TeX Tricks for the Mathematician.

Additional TeX Tricks

I have collected various other TeXtricks that I wish somebody had put up on the web when I was struggling to figure it out for myself! These are very rough notes.

Math Fonts to Use Together with Times

A free alternative is the mathptmx package. For more info, see Using common PostScript fonts with LaTeX by Walter Schmidt. There are however many shortcoming with the mathptmx package, and serious users will want to get Mike Spivak's MathTime Professional Font package from PCTeX.

Installing Mike Spivak's MathTime Professional Font from PCTeX in MiKTeX

Installing Mike Spivak's MathTime Professional Font from PCTeX in MiKTeX is easy. Unzip the texmf directory from mtpfonts.zip.tpm into your localtexmf directory, and copy the templates directory wherever you want to. Edit localtexmf\web2c\updmap.cfg (create this file if you don't already have it) and add the line

Then refresh the file name database and run updmap (or mkfntmap or initexmf --mkmaps) from the command line.

This should work on most modern TeX systems, but if you don't have updmap, you may try to manually add "map +mtpro.map" to pdftex.cfg and add "p +mtpro.map" to config.ps.

Using the MathTime Professional Font

MathTime Professional does not contain a fraktur or blackboard bold font. The blackboard bold is in Supplement A and the fraktur is in Supplement B.

\renewcommand{\rmdefault}{ptm}      % set Times as the default text font
\usepackage[scaled=0.92]{helvet}    % set Helvetica as the sans-serif font
\usepackage[subscriptcorrection,slantedGreek,nofontinfo,boldalphabet]{mtpro}
\usepackage[mtpbb]{mtpams}
\usepackage[mtpfrak]{mtpb}

If you do not have the supplement fonts you have to use the amsbb and eufrak fonts. However, you cannot use MathTime Professional with the amsfonts package. The solution is to use the eufrak package and load mtpro with an amsbb option to get the AMS fonts.

\usepackage[scaled=0.92]{helvet}    % set Helvetica as the sans-serif font
\renewcommand{\rmdefault}{ptm}      % set Times as the default text font
\usepackage[amsbb]{mtpro}
\usepackage{eufrak}

The mtpro package is not compatible with the amssymb package, and the beamer package requires the amssymb package. This give an error for the definition of Bbbk. One solution is to add \let\Bbbk\relax before loading mtpro.



Helmer Aslaksen
Department of Mathematics
National University of Singapore

Web Server Statistics for Helmer Aslaksen, produced by Analog.

Valid XHTML 1.0!

I use the W3C MarkUp Validation Service and the W3C Link Checker.