({{, (RefLink[SubscriptBox, paclet:ref/SubscriptBox])[x,y]
is the low-level box representation for (Subscript[x, y]) in notebook expressions. }})

OpenersNotesSection(Spacer1)Details and Options

(RefLink[SubscriptBox, paclet:ref/SubscriptBox]) is the low-level representation of (RefLink[Subscript, paclet:ref/Subscript]). Except for low-level notebook expression manipulation, (RefLink[SubscriptBox, paclet:ref/SubscriptBox]) should not need to be used directly.

Inside ∖(…∖) (RefLink[SubscriptBox, paclet:ref/SubscriptBox])[x,y] can be input as x∖_y.

In a notebook, a (RefLink[SubscriptBox, paclet:ref/SubscriptBox]) can be created using (Key1[ctrl, _ ])or (Key1[ctrl, -]). (Key1[ctrl, space]) moves out of the subscript position.

In (RefLink[StandardForm, paclet:ref/StandardForm]), (RefLink[SubscriptBox, paclet:ref/SubscriptBox])[x,y] is interpreted on input as (RefLink[Subscript, paclet:ref/Subscript])[x,y].

The baseline of (RefLink[SubscriptBox, paclet:ref/SubscriptBox])[x,y] is taken to be the baseline of x.

(RefLink[SubscriptBox, paclet:ref/SubscriptBox])[x,y] is usually output with y in a smaller font than x.

In (RefLink[StandardForm, paclet:ref/StandardForm]), explicit (RefLink[SubscriptBox, paclet:ref/SubscriptBox]) objects are output literally. You can use (RefLink[DisplayForm, paclet:ref/DisplayForm]) to see the display form of such objects.

OpenersPrimaryExamplesSection(Spacer1)Examples  (3)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Display a letter with a subscript:

SubscriptBox["x","0"]//DisplayForm

A (RefLink[SubscriptBox, paclet:ref/SubscriptBox]) form is typically interpreted as a (RefLink[Subscript, paclet:ref/Subscript]) expression:

ToExpression[SubscriptBox["x","0"],StandardForm]

%//FullForm

The standard formatting for (RefLink[Subscript, paclet:ref/Subscript]) uses (RefLink[SubscriptBox, paclet:ref/SubscriptBox]):

ToBoxes[Subscript[x,0],StandardForm]//FullForm

The formatted result looks like this:

Subscript[x,0]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Subscript, paclet:ref/Subscript])  ▪  (RefLink[SuperscriptBox, paclet:ref/SuperscriptBox])  ▪  (RefLink[SubsuperscriptBox, paclet:ref/SubsuperscriptBox])  ▪  (RefLink[UnderscriptBox, paclet:ref/UnderscriptBox])  ▪  (RefLink[ScriptSizeMultipliers, paclet:ref/ScriptSizeMultipliers])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Representing Textual Forms by Boxes, paclet:tutorial/RepresentingTextualFormsByBoxes])}, {▪(RefLinkPlain[String Representation of Boxes, paclet:tutorial/StringRepresentationOfBoxes])}, {▪(RefLinkPlain[Typing Subscripts, paclet:tutorial/TypingSubscripts])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Low-Level Notebook Structure, paclet:guide/LowLevelNotebookStructure])}})}})