UnderscriptBox[x,y]
is the low‐level box representation for in notebook expressions.


UnderscriptBox
UnderscriptBox[x,y]
is the low‐level box representation for in notebook expressions.
Details and Options

- UnderscriptBox is the low-level representation of Underscript. Except for low-level notebook expression manipulation, UnderscriptBox should not need to be used directly.
- Inside \(…\) UnderscriptBox[x,y] can be input as x\+y.
- In a notebook, an UnderscriptBox can be created using
.
moves out of the underscript position.
- The following options can be given:
-
BaseStyle {} the style to use DiacriticalPositioning Automatic where to draw diacritical marks LimitsPositioning Automatic whether to position scripts in a way conventional for limits MultilineFunction Automatic how to handle scripts so long that linebreaking may be necessary - In StandardForm, UnderscriptBox[x,y] is interpreted on input as Underscript[x,y].
- UnderscriptBox[x,"_"] is interpreted as UnderBar[x] or
.
- The baseline of UnderscriptBox[x,y] is taken to be the baseline of x.
- UnderscriptBox[x,y] is usually output with y in a smaller font than x.
- With the option setting LimitsPositioning->True, y is placed in an underscript position when the whole UnderscriptBox is displayed larger, and in a subscript position when it is displayed smaller.
- In StandardForm, explicit UnderscriptBox objects are output literally. You can use DisplayForm to see the display form of such objects.
Examples
Basic Examples (3)
Display a letter with an underscript:
An UnderscriptBox form is typically interpreted as an Underscript expression:
The standard formatting for Underscript uses UnderscriptBox:
Related Guides
Related Workflows
- Find the Underlying Box Structure of a Formatted Expression ▪
- Enter Subscripts and Superscripts
History
Introduced in 1996 (3.0) | Updated in 2007 (6.0) ▪ 2020 (12.2)
Text
Wolfram Research (1996), UnderscriptBox, Wolfram Language function, https://reference.wolfram.com/language/ref/UnderscriptBox.html (updated 2020).
CMS
Wolfram Language. 1996. "UnderscriptBox." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/UnderscriptBox.html.
APA
Wolfram Language. (1996). UnderscriptBox. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/UnderscriptBox.html
BibTeX
@misc{reference.wolfram_2025_underscriptbox, author="Wolfram Research", title="{UnderscriptBox}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/UnderscriptBox.html}", note=[Accessed: 04-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_underscriptbox, organization={Wolfram Research}, title={UnderscriptBox}, year={2020}, url={https://reference.wolfram.com/language/ref/UnderscriptBox.html}, note=[Accessed: 04-August-2025]}