How do I use multiple superscripts (super, super-super, super-super-super, etc) with them all smaller than each other?

I wonder how to make every superscript level smaller than each other.

Like, 2^{2^{2^{2^{2^{2^{2}}}}}} makes the first superscript smaller, but the rest of the superscripts the same size as the first one.

I have done this first on wikipedia, but of course it doesn't go like I want it to go like.

-
Welcome! I assume the underlying point here is that stuff can only usefully be made so small. After that, making it smaller just makes it illegible and no longer helps to clarify the meaning. – cfr Feb 1 at 2:40
This ought to be a duplicate of tex.stackexchange.com/questions/144490/… but you ask that things keep getting smaller, but you shouldn't want that:-) – David Carlisle Feb 1 at 8:02
If it really is just 2s, you could always use up-arrrow notation ( en.wikipedia.org/wiki/Knuth's_up-arrow_notation ), which avoids the readability problem entirely. – BMWurm Feb 1 at 13:08

You could use \scalebox command from the graphicx package and make a macro that does this. But, as mentioned by @cfr in the comments to your question, readability very quickly becomes an issue.

\documentclass{article}
\usepackage{graphicx}

\newcommand\aesuper[2][0.90]{^{\scalebox{#1}{$\scriptstyle#2$}}}

\begin{document}

$2\aesuper[1]{2\aesuper{2\aesuper{2\aesuper{2\aesuper{2\aesuper{2}}}}}}$

\end{document}


-

Or \resizebox of the same package graphicx ...

\documentclass{article}
\usepackage{graphicx}
\newdimen\antes
\setlength{\antes}{4em}
\gdef\mb#1{\resizebox{\antes}{!}{#1%
\begin{document}
$\mb{2}^{\mb{2}^{\mb{2}^{\mb{2}^{\mb{2}^{\mb{2}^{% \mb{2}^{\mb{2}^{\mb{2}^{\mb{2}^{\mb{2}}}}}}}}}}}$
\end{document}


-
Note that \global\addtolength doesn't work if calc is loaded. – egreg Feb 1 at 7:26
@egreg Good to know. I tested that \dimexpr work here (for example, \dimexpr-.15\antes-.6em to produce a nice mirror effect) but I was not aware of packages as calc or pgf . – Fran Feb 1 at 11:25