Change equation font in Pages

fontpages

During a Pages update which was pushed out a few months ago, Pages obtained the ability to write equations using LaTeX or MathML commands. According to an Apple Support article, the size and color of the equation can be changed (source):

The equation appears at the insertion point in your document (or before the selected text). The equation is an inline object, the same size and color as the surrounding text. If you change the size or color of the surrounding text, the size and color of the equation’s font also change.

This does not mention anything about the font used for the equation itself, which seems to be something similar to a Times New Roman font.

Is there any way to change the font used, preferably to something like Latin Modern Math?

I was considering the possibility of replacing the font file Pages uses with a downloaded Latin Modern Math font file, but I'm not sure what to replace. Could I replace Times New Roman in /System/Library/Fonts/ or something like that?

enter image description here

Best Answer

  • Pages uses blahtex to generate PNGs from the rudimentary maths environments. The following fonts are available out of the box with blahtex:

    2.12 Fonts
    \mathbf \mathbb \mathrm \mathit \mathcal \mathfrak \mathsf \mathtt \boldsymbol \rm \bf \it \cal \tt \sf \Bbb \bold

    Unfortunately, Pages does not support all of these fonts, most notably mathcal. Pages does support:

    …and their shorthands: