As the author of mhchem, I am considering to add electron configuration to \ce
. I decided to give it a little bit spacing for readability: $\mathrm{[Kr]\mskip2mu4d^{10}\mskip2mu5s^1\mskip2mu5p^3\mskip2mu5d^4}$.
Now, I'd like to ask you what you consider an intuitive input syntax. I will propose some answers, please vote.
Disclaimer: This is no promise that this feature will come or that I will implement the winning syntax. In fact, it might even be impossible to use a certain syntax because of side-effects.
\ce
command, but a different command since it enhances readability of the code. $\endgroup$\ce
were not already used that way, here at SE. So I want to support it properly (and with a recommended syntax, although I might support more). $\endgroup$\ce
sticking out from the surrounding text when this is not necessary (e.g. just subscripts and superscripts). But changing that would need a major effort of the MathJax core guys or of SE. $\endgroup$H$_2$SO$_4$
, which is awkward, because the formula might break at a line end. And since you cannot predict those accurately (esp. mobile) this is a problem for readability. Currently I am quite happy with what it looks like. $\endgroup$