[Tex/LaTex] Rotation in \ddots

math-modesymbols

I want to write a math equation that needs power of dots. I tried these code

{2^{2^{2^{\ddots^{2}}}}}

But the dots needs to be rotated

Best Answer

Adapted from The TeXbook, Exercise 18.45:

\def\rddots#1{\cdot^{\cdot^{\cdot^{#1}}}}
$ 2^{2^{\rddots2}} $
\bye

enter image description here

Related Question