Conflict between subscript and superscript under summation
math-modesubscriptssuperscripts
I would like the subscript of my sum to look better:
$$
\sum_{d \mid p_j^{m_j}} f(d)
$$
creates the output
but i would like the exponent m_j to be further down and closer p_j.
Best Answer
I'd like to suggest that you \smash the subscript term j in p_j. Alternatively, you could \smash the j subscript term in m_j. Optionally, to remove any ambiguity as to where j in p_j belongs, snug it up to the p term via a \! ("negative thinspace") directive.
The slight difference is in the fact that TeX uses "cramped display style" when typesetting the argument to \widehat, which is characterized by reduced lowering of subscripts and raising of superscripts.
This is one of the cases where TeX needs help; here's a way:
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.
Best Answer
I'd like to suggest that you
\smash
the subscript termj
inp_j
. Alternatively, you could\smash
thej
subscript term inm_j
. Optionally, to remove any ambiguity as to wherej
inp_j
belongs, snug it up to thep
term via a\!
("negative thinspace") directive.