How do I change MathJax font Obsidian uses?

I installed Neo Euler on my device (macOS), closed-opened the vault for good measure, and this is working on my end (for example):

mjx-math .TEX-I {
    font-family: 'Neo Euler';
}

.mjx-i {
    font-style: italic;
}

CleanShot 2025-06-21 at 11.37.40

I’m not too familiar with using CSS to adjust MathJax, but as you can see there’s a whole lot you can target. (apologies for the flashy gif)

CleanShot 2025-06-21 at 11.41.03

I suggest taking a look using the Inspector to find exactly what you want to change:

1 Like