This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

SuperscriptBox

SuperscriptBox[x, y]
is the low-level box representation for xy in notebook expressions.
  • In a notebook a SuperscriptBox can be created using Ctrl+6 or Ctrl+^. Ctrl+Space moves out of the superscript.
  • The baseline of SuperscriptBox[x, y] is taken to be the baseline of x.
  • SuperscriptBox[x, y] is usually output with y in a smaller font than x.
Display a letter with a superscript:
A SuperscriptBox form is typically interpreted as a power:
The standard formatting for Power expressions uses SuperscriptBox:
Display a typeset structure with a superscript on a superscript:
Display a letter with a superscript:
In[1]:=
Click for copyable input
Out[1]//DisplayForm=
 
A SuperscriptBox form is typically interpreted as a power:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]//FullForm=
 
The standard formatting for Power expressions uses SuperscriptBox:
In[1]:=
Click for copyable input
Out[1]//FullForm=
 
Display a typeset structure with a superscript on a superscript:
In[1]:=
Click for copyable input
Out[1]//DisplayForm=
New in 3 | Last modified in 6