According to @orthocresol's answer to Chemistry equation \ce modifier works in a non chem. SE site's posts, but not in search results. Should we consider it "working" and start using it? any site that has Mathjax enabled can use the MathJax package mhchem
. In chemistry SE they pre-enable it site-wide, in non chem. SE sites we can load it with $\require{mhchem}$
I kind-of like our haphazard diversity of ways that we express chemical formulae here in Space SE; we use H2O
, H<sub>2</sub>O
, H₂O
and $H_2O$
interchangeably and more often than not do not go edit other people's posts to impose our own formatting preference on them.
Also note that (I think) putting MathJax in titles prevents the possibility of a question becoming HNQ.
Question: Should we start using the normal MathJax chemistry notation for chemicals? e.g. \require{mhchem}\ce{H_2O} for H₂O
The purpose of my question is primarily just to let folks know that like Dorothy in the Wizard of Oz we've had this power all along and as far as I can tell rarely if ever used it except for very old posts. I'm hoping that answer(s) will confirm that folks can use what they want and we'll have no rules (it's way too late to go back and fix a thousand old posts!) but it's fine if anyone wants to start using it.
However, loading a separate MathJax package is overhead (as would be adding syntax highlighting to the site) and so it deserves a passing thought if it's a good idea or not. That's something that website programming folks can address.
$\require{mhchem}\ce{H_2O}$
renders as $\require{mhchem}\ce{H_2O}$ wherever MathJax is enabled. You only need one instance and it should be the first instance where you need it to load.