Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top