# A Neat Mathmode Trick

So here is a neat trick I saw in response to a question I asked on tex.stackexchange. This post also serves as a way for me to try out some code markdown. Put this in your preamble:

\newcommand{\PrintMathFonts}{\%
\count255=0
\loop\ifnum\count255<16
\typeout{(\the\count255:~\fontname\textfont\count255)}

Now add \PrintMathFonts at various places to see what math alphabets have been used up to that point. It will print them to the .log file.