How to use CSS to change the font of Mathjax in Anki to the universal font of Time New Roman

How to use CSS to change the font of Mathjax to the universal font of Time New Roman in Anki? I tried writing CSS myself, * {font family: Times New Roman;}, which can globally modify the font. However, this will result in a significant difference in the style of Mathjax’s root and sum symbols compared to the original display effect. The root will break, and the superscript and subscript of the sum symbol will be offset, with a large spacing, I want to know how to keep the mathjax in the root and sum symbols as the original display style, without being modified to time new Roman. I used GPT to query the CSS class names of the mathjax in the sign and root parts, and made modifications. The solution provided by GPT is as follows, but it still doesn’t work. Please advise me!
Mjx surd{
Font family: inherit! Important;
}
Mjx mo [\ \ sum]{
Font family: mathjax! Important;
}Font family: inherited;

Does this help? Customizing MathJax - Frequently Asked Questions

谢谢你啦!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.