[Tex/LaTex] How to write pow math

math-mode

I want to write math:

{i^{w}}^{anterior}

but this is the result:

enter image description here

I want this :

enter image description here

Best Answer

Embrace the {w^{\mathrm{anterior}}} rather than the {i^{w}}. Also, \mathrm for math-sized text (by "text", I mean phonetic language, not a collection of math symbols).

\documentclass{article}
\begin{document}
$i^{w^{\mathrm{anterior}}}$
\end{document}

enter image description here