Page MenuHomePhabricator

MathRM parsing error
Closed, ResolvedPublic


Hi, the example string <math>\mathrm{HSO_4^-}</math> produces a minus which is not in superscript, while it works correctly with numbers before the minus (e.g. 2-) <math>\mathrm{SO_4^{2-}}</math>

Event Timeline

Physikerwelt claimed this task.
Physikerwelt added a subscriber: Physikerwelt.

I guess what you are trying to do is to write chemical markup?
Have you considered using the chem tag instead <chem>HSO4-</chem> probably produces the expression you would like to discribe.
Can you explain why you want to use the mathrm command. Also note the difference between mathrm and operatorname

See for the reproduction of your case

my answer is on the mediawiki page, cheers, ghilt