[Tex/LaTex] How to align superscripts

equationshorizontal alignmentsuperscripts

I have an expression like

$$\eta^{[\alpha\beta}_{\phantom{\alpha\beta}\rho}h^{\sigma]}A^\rho$$

and I would like that all the indices alpha, beta, sigma and rho appear on a same line. If someone have a suggestion it will be great!

enter image description here

Best Answer

What you need is \hphantom instead of just a \phantom:

\documentclass{article}
\begin{document}
\[
   \eta^{[\alpha\beta}_{\hphantom{\alpha\beta}\rho}h^{\sigma]}A^\rho
\]
\end{document}

enter image description here

Related Question