Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
missing support for \textsf and \texttt when mtextInheritFont is being used #459
As per my comment at https://bugzilla.wikimedia.org/show_bug.cgi?id=35186:
"As for \textsf and \texttt, these commands are correctly being defined but are missing styling support in the HTML/CSS output jax when mtextFontInherit is being enabled.
This is fixed by amending the source with matches for "monospace" and
Replicate these for the other font variants."
I assume these changes should go to the official MathJax sources as well rather than just to my WP script.
It would be possible to apply
In any case, the position in the code where you suggest the change is not the correct place. The variant returned by
It looks like the CSS selectors give above don't work, since the
in the MathJax configuration. Similarly for