Using mherit font for italicized letters and numbers.

18 views
Skip to first unread message

Andrew Murdza

unread,
Aug 18, 2025, 1:52:46 PMAug 18
to MathJax Users
I found that mInheritFont: true in inside of output for MathJax 4 works for letters in \text{...} but it doesn't work for numbers in \text{...} (only the top of the number shows and the rest is cutoff) and it doesn't seem to apply to italicized letters.

I especially want it to apply to numbers so that when I have a number that is not part of an equation I don't need to wrap it in $...$ to be the same font.

If it helps, the font I am using is Arial.

Davide Cervone

unread,
Aug 21, 2025, 4:12:26 AMAug 21
to mathja...@googlegroups.com
I am not able to reproduce the issue.  Can you point to a URL or test page that exhibits the problem, and say what browser and OS you are using?

Davide


--
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 visit https://groups.google.com/d/msgid/mathjax-users/711973ec-eb22-4cfc-87e3-b57b77e8d97an%40googlegroups.com.

Andrew Murdza

unread,
Aug 21, 2025, 8:59:40 AMAug 21
to MathJax Users
I will send the website when I get a break from work. It is MathJax version 4 on Chrome and on windows.

Andrew Murdza

unread,
Aug 22, 2025, 5:44:46 PMAug 22
to MathJax Users
This is the link, but I decided I actually like having a different font for just the non-text math so it's not an issue for me anymore.

Davide Cervone

unread,
Aug 22, 2025, 7:58:08 PMAug 22
to mathja...@googlegroups.com
The page seems to render properly to me (maybe you have changed the configuration?), but I didn't see any obvious \text{} calls where there were numbers in the text, so I'm not sure where to looks for the problem you were reporting.  Sorry.

Davide


--
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.
Message has been deleted

Andrew Murdza

unread,
Aug 29, 2025, 3:27:06 PMAug 29
to MathJax Users
Hi Davide,

I'm not sure why it wasn't working before but it has been working for awhile since I sent this email. I think maybe it wasn't working in my minimal example test site that had a different config but works on the main site.
I apologize for not telling you earlier.

Reply all
Reply to author
Forward
0 new messages