[Tex/LaTex] Lower indices height

math-modesubscriptsvertical alignment

Adding a subscript to a dagged variable, the subscript is lower than when it is added to an undagged variable. Here's an example:

$c^{\dagger}_R c_R c^{\dagger}_R c_R c^{\dagger}_R c_R c^{\dagger}_R c_R $

I tried to solve the problem using subdepth package but it doesn't work.
I also tried an awkward solution with dummy upper indices:

$c^{\dagger}_R c^{}_R c^{\dagger}_R c^{}_R c^{\dagger}_R c^{}_R c^{\dagger}_R c^{}_R $

but still doesn't work.
I'd like to have all the "R" subscripts at the same height; possibly I'd like to lower the subscripts of the undagged variable at the height of the dagged ones.

Best Answer

In this instance you can use \mathstrut as a supplement for the missing \dagger:

enter image description here

\documentclass{article}
\usepackage{xcolor}% http://ctan.org/pkg/xcolor
\begin{document}
\leavevmode\rlap{$c_R c^{\dagger}_R c^{\mathstrut}_R$}%
{\color{black!20}\rule[-1ex]{4em}{.4pt}}

\leavevmode{\color{red}\rlap{$c^{\mathstrut}_R$}}$c^\dagger_R$

\leavevmode{\color{red}\rlap{$c^{}_R$}}$c^\dagger_R$
\end{document}

The horizontal rule in the output is just for reference in the first output.

The second output prints an overlay between the \mathstrut and \dagger superscript versions, while the third output overlays the {} and \dagger superscript versions (using xcolor). The differences is more noticeable this way.

Related Question