https://bugzilla.wikimedia.org/show_bug.cgi?id=35186

--- Comment #37 from nageh <[email protected]> ---
As for \textsf and \texttt, these commands are correctly being defined but are
missing styling support in the HTML/CSS output jax of TeX-AMS-texvc HTML.js
when mtextFontInherit is being enabled.

This is fixed by amending the source with matches for "monospace" and
"sans-serif" font variants. In explanation, you'll find code statements like

if(!j.weight&&j.mathvariant.match(/bold/)){j.weight="bold"}

Replicate these for the other font variants. I may do so in my user script
sources so you can copy the changes. But possibly this would be a useful change
for the official MathJax sources as well... Peter, what do you think?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to