Using the v3 font in version 4.

118 views
Skip to first unread message

Andrew Murdza

unread,
Feb 10, 2024, 4:25:08 PM2/10/24
to MathJax Users
I really liked the font for V3 which changed when I updated to v4. The font is called MathJax_Main-Regular.otf and I also use it as my font for text outside of Mathjax. Is there a way to use it even in v4?

Andrew Murdza

unread,
Feb 10, 2024, 4:59:55 PM2/10/24
to MathJax Users
This is an example with the two fonts together due to being outside of inside of Mathjax. In V3 "represents" looks exactly the same inside of and outside of Mathjax but now the font is thinner and smaller (note that I edited the font with css so that the letters are further apart)
Screenshot 2024-02-10 163003.png

Davide Cervone

unread,
Feb 12, 2024, 9:10:21 AM2/12/24
to mathja...@googlegroups.com
The old MathJax TeX fontset is available as the mathjax-tex, and you can specify it by setting 

font: 'mathjax-tex'

in the "options" block of your MathJax configuration.  See "Font support" section of the MathJax v4.0.0-alpha.1 release notes at


for more details.  The font has been repackaged and you can use the mjx-tex-n.otf font from


in place of MathJax_Main-Regular.otf if you want to avoid loading an extra font that MathJax v4 won't be using.

Davide


On Feb 10, 2024, at 4:25 PM, Andrew Murdza <andrew...@gmail.com> wrote:

I really liked the font for V3 which changed when I updated to v4. The font is called MathJax_Main-Regular.otf and I also use it as my font for text outside of Mathjax. Is there a way to use it even in v4?


--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/ef1295a2-4992-4011-9c6a-b20c177697b3n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages