3

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?

  • 1
    Does TNR have the characters for this? I would think Apple might use the STIX fonts it provides for equations. – Tom Gewecke Feb 14 '18 at 22:47
  • I never learned LaTeX (my fault) so I cannot be sure, but here it seems to explain why you cannot just select a font for the equation discussions.apple.com/thread/8031093 and here support.apple.com/en-us/HT202501 is the reference of what of LaTeX and MathML is supported in the Apple apps. Unless you also change the metadata inside the font file, don't think you can simply substitute the TMR font with another and to expect it to work... – Gio Valerio Feb 14 '18 at 23:21
4

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:

2

This is not possible to change the font as the LaTex panel as it is strictly in maths mode.

The LaTeX insertion panel in Pages v6.2 is strictly in math mode, and does not allow changing to another font (e.g. Helvetica), as one could do in the main Pages document body, or in LaTeX proper. You can change to a different style for the default font as outlined in the blahtex/blahtexml guide (direct link to PDF). The usage of these operators is not further documented, and though \mathsf{x = y^2} works, this format does not apply for all in the following list.

(source)

Some of the fonts, not all are available:

chart

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .