Copy link to clipboard
Copied
Hallo, is it possible to change the font used for creating mathematical expressions?
Hi @Enzo28692082pa0i you can specify the font using inline CSS, eg.
<math>
<mi style="font-family: 'Times New Roman', serif;">x</mi>
<mo>+</mo>
<mi style="font-family: 'Arial', sans-serif;">y</mi>
<mo>=</mo>
<mn style="font-family: 'Courier New', monospace;">10</mn>
</math>
Also, not strictly changing the font, but just for info, using the mathvariant attribute can be useful sometimes, eg.
<math>
<mrow>
<mi>L</mi> <mo>,</mo>
<mi mathvariant="bold">L</mi> <mo>,</mo>
<mi m
...
Copy link to clipboard
Copied
Hi Enzo,
I haven't used MathML plugin except to examine the new feature.
So far, changing the font is not possible.
However, InDesign is using a typeface called MathJax located here:
C:\Program Files\Adobe\Adobe InDesign 2025\Resources\UXP\com.adobe.indesign.mathexprpanel\mathjax\es5\output\chtml\fonts\woff-v2
Changing that font will likely break the MathML module (but you could always experiment with it if you are brave!)
Copy link to clipboard
Copied
Hi @Enzo28692082pa0i you can specify the font using inline CSS, eg.
<math>
<mi style="font-family: 'Times New Roman', serif;">x</mi>
<mo>+</mo>
<mi style="font-family: 'Arial', sans-serif;">y</mi>
<mo>=</mo>
<mn style="font-family: 'Courier New', monospace;">10</mn>
</math>
Also, not strictly changing the font, but just for info, using the mathvariant attribute can be useful sometimes, eg.
<math>
<mrow>
<mi>L</mi> <mo>,</mo>
<mi mathvariant="bold">L</mi> <mo>,</mo>
<mi mathvariant="script">L</mi> <mo>,</mo>
<mi mathvariant="double-struck">R</mi> <mo>,</mo>
<mi mathvariant="fraktur">F</mi> </mrow>
</math>
Copy link to clipboard
Copied
Very useful, thanks, Mark.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now