문제

I want to use MathJax with a regular font, not italic. I tried to load different STIX fonts, but the symbols rendered with MathJax are always converted to italic.

I've checked STIX font FAQ page and it is supposed to have a regular version, but I can't figure out how to use it with Mathjax.

도움이 되었습니까?

해결책

The use of italics is actually an important part of proper mathematical typesetting, so I would recommend that you not override that. Is there some important reason you are trying to do so?

You don't mention which input format you are using, but if it is TeX, you can use \mathrm{...} around your mathematics to get upright variables rather than italic ones. If you are using MathML, then use <math mathvariant="normal">...</math> to get upright letters. Personally, I find the result ugly, but people's tastes differ.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top