SuperscriptBox
SuperscriptBox[x,y]
is the low‐level box representation for xy in notebook expressions.
Details and Options
- SuperscriptBox is the low-level representation of Superscript. Except for low-level notebook expression manipulation, SuperscriptBox should not need to be used directly.
- Inside \(…\) SuperscriptBox[x,y] can be input as x∖^y.
- In a notebook a SuperscriptBox can be created using or . moves out of the superscript.
- The following options can be given:
-
BaseStyle {} the style to use MultilineFunction Automatic how to handle scripts so long that linebreaking may be necessary - In StandardForm, SuperscriptBox[x,y] is interpreted on input as Power[x,y].
- 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.
- In StandardForm, explicit SuperscriptBox objects are output literally. You can use DisplayForm to see the display form of such objects.
Examples
Basic Examples (4)
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:
Text
Wolfram Research (1996), SuperscriptBox, Wolfram Language function, https://reference.wolfram.com/language/ref/SuperscriptBox.html (updated 2007).
CMS
Wolfram Language. 1996. "SuperscriptBox." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/SuperscriptBox.html.
APA
Wolfram Language. (1996). SuperscriptBox. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SuperscriptBox.html