({{, (RefLink[LimitsPositioning, paclet:ref/LimitsPositioning])
is an option for (RefLink[UnderoverscriptBox, paclet:ref/UnderoverscriptBox]) and related boxes that specifies whether to change the positioning of underscripts and overscripts in the way conventional for limits. }})

OpenersNotesSection(Spacer1)Details

(RefLink[UnderoverscriptBox, paclet:ref/UnderoverscriptBox])[x,y,z,LimitsPositioning->(RefLink[False, paclet:ref/False])] is always displayed with explicit underscripts and overscripts as (Underoverscript[x, y, z]).

(RefLink[UnderoverscriptBox, paclet:ref/UnderoverscriptBox])[x,y,z,LimitsPositioning->(RefLink[True, paclet:ref/True])] is displayed as (Underoverscript[x, y, z]) when large, and (Subscript[x, y]^z) when small.

The (Subscript[x, y]^z) form is used when the box appears in a subscript or other script, or inline in a piece of text.

With the default setting (RefLink[LimitsPositioning, paclet:ref/LimitsPositioning])->(RefLink[Automatic, paclet:ref/Automatic]), the display of (RefLink[UnderoverscriptBox, paclet:ref/UnderoverscriptBox])[x,y,z] depends on x. If x is ∖[(RefLink[Sum, paclet:ref/Sum])], ∖[(RefLink[Product, paclet:ref/Product])], or another form conventionally displayed with limits, then (RefLink[LimitsPositioning, paclet:ref/LimitsPositioning])->(RefLink[True, paclet:ref/True]) is effectively used. Otherwise, (RefLink[LimitsPositioning, paclet:ref/LimitsPositioning])->(RefLink[False, paclet:ref/False]) is used.

(RefLink[LimitsPositioningTokens, paclet:ref/LimitsPositioningTokens]) is a (RefLink[Cell, paclet:ref/Cell]) option that can be set to a list of forms for which (RefLink[LimitsPositioning, paclet:ref/LimitsPositioning])->(RefLink[True, paclet:ref/True]) should be used.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Define a low-level structure that has small underoverscript elements:

uoscripts=FractionBox[UnderoverscriptBox["x","0","1"],UnderoverscriptBox["∑","1","n"]];

With (RefLink[LimitsPositioning, paclet:ref/LimitsPositioning])->(RefLink[True, paclet:ref/True]), the upper and lower scripts go to the right of the base:

CellPrint[Cell[BoxData[uoscripts],"Output",UnderoverscriptBoxOptions->{LimitsPositioning->True}]]

With (RefLink[LimitsPositioning, paclet:ref/LimitsPositioning])->(RefLink[False, paclet:ref/False]), the upper and lower scripts stay directly above and below:

CellPrint[Cell[BoxData[uoscripts],"Output",UnderoverscriptBoxOptions->{LimitsPositioning->False}]]

With (RefLink[LimitsPositioning, paclet:ref/LimitsPositioning])->(RefLink[Automatic, paclet:ref/Automatic]), the side positions are used with base ∑, not with x:

CellPrint[Cell[BoxData[uoscripts],"Output",UnderoverscriptBoxOptions->{LimitsPositioning->Automatic}]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[ScriptSizeMultipliers, paclet:ref/ScriptSizeMultipliers])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Math Typesetting Options & Tweaking, paclet:guide/MathTypesettingOptionsAndTweaking])}})}})