10

I am trying to find a similar question but they all seem to suggest something completely different.

I want to create a superscript for a superscript. Essentially: 2^2^n

2
  • ... $2^{2^{n}}$ ?
    – Zarko
    Feb 2, 2017 at 1:15
  • 2
    See also Double Subscript for Subsequences. That posting is, as the title implies, about double subscripts. Replacing the _ characters with ^ characters in the discussions, you could learn all you need to know about double superscripts as well.
    – Mico
    Feb 2, 2017 at 7:33

1 Answer 1

15

A superscript of a superscript should be grouped. So, depending on what you're after exactly, you can do:

enter image description here

\documentclass{article}

\begin{document}

$2^{2^n}\ {2^2}^n$

\end{document}

The first example is 2 to the power (2^n); using a similar syntax, the styles used are \textstyle^{\scriptstyle^\scriptstyle}. The second example is (2^2) to the power n with the styles denoted by {\textstyle^\scriptstyle}^\scriptstyle.

2
  • 1
    The second possibility given here is very unclear and should be equipped with explicit parentheses like $(2^2)^n$. Feb 2, 2017 at 11:19
  • Do be careful - sometimes 2^{2^n} can be better than {2^2}^n.
    – Pro Q
    Feb 1, 2019 at 8:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .