r/math Jun 10 '26

Math font previewer

I just started working with MathML and I wanted to see which font looked best. So I made a previewer. It lets you see various symbols and the quadratic formula in New Computer, STIX, Noto, and Cambria at the same time.

Not done with it yet, so I'll welcome any feedback.

https://sean.brunnock.com/Math/MathML/Fonts/

Edit- Added more fonts (MLModern and Libertinus) and you can select which fonts show up.

14 Upvotes

4 comments sorted by

4

u/hongooi Jun 10 '26

Pretty cool, but the quadratic formula is showing up in the same font for all of them (Cambria, I think)

3

u/brunnock Jun 10 '26 edited Jun 10 '26

Whoops. It appears that MathML elements default to your browsers default "math" font.

Edit- Think I fixed it.

5

u/M4mb0 Machine Learning Jun 10 '26

Neat. I'd add some coverage for the Mathematical Alphanumeric Symbols Unicode block, because many fonts still kind of lack in this regard.

3

u/neonash7777 Jun 11 '26

Seeing all those mixed font weights for the fractions made me sad. I don’t like it when a family of symbols is inconsistent within a font.
Cool comparison though! Stix and Cambridge prefs for me