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

SqrtBox

SqrtBox[x]
is a low-level box construct that represents the displayed object in notebook expressions.
  • Inside \(...\) SqrtBox[x] can be input as \@x.
  • In a notebook a SqrtBox can be created using Ctrl+2 or Ctrl+@. Ctrl+Space moves out from under the square root sign.
  • The baseline of SqrtBox[x] is taken to be the baseline of x.
  • If SqrtBox[x] does not fit on a single line, it is output as x^(1/2).
Display a letter under a square root sign:
A SqrtBox form is typically interpreted as a square root:
Mathematica represents a square root as a 1/2 power:
The standard formatting for a 1/2 power expression uses SqrtBox:
The formatted result looks like this:
Display a letter under a square root sign:
In[1]:=
Click for copyable input
Out[1]//DisplayForm=
 
A SqrtBox form is typically interpreted as a square root:
In[1]:=
Click for copyable input
Out[1]=
Mathematica represents a square root as a 1/2 power:
In[2]:=
Click for copyable input
Out[2]//FullForm=
 
The standard formatting for a 1/2 power expression uses SqrtBox:
In[1]:=
Click for copyable input
Out[1]//FullForm=
The formatted result looks like this:
In[2]:=
Click for copyable input
Out[2]=
Nested square root boxes:
New in 3