[Tex/LaTex] How to separate subscript and superscript in LaTeX

subscriptssuperscripts

I have a variable with a subscript describer P_{\rm 1S} I'd like to square it.

First a style question: is (P_{\rm 1S})^2 or P_{\rm 1S}^2 better? The programming part of the problem is that the latter aligns the superscript vertically above the subscript, I would like the power to be aligned further to the right distinct from the variable and its descriptors. Is there a simple way to do this?

Best Answer

Instead of $(P_{\rm 1S})^2$ (which is the most precise) you can also write ${P_{\rm 1S}}^2$ (which should be also clear). However, as it is mentioned by egreg, P_\mathrm{1S} is better than P_{\rm 1S}, as \rm is obsolete in LaTeX2epsilon.

Related Question