RowBox

RowBox[{box1, box2, ...}]
is a low-level box construct that represents a row of boxes or strings in a notebook expression.

DetailsDetails

  • RowBox is generated by functions like Row. Except for low-level notebook expression manipulation, RowBox should not need to be used directly.
  • RowBox objects are generated automatically to correspond to each operator and its operands in input given as \(input\).
  • The default arrangement of RowBox objects in \(input\) is based on operator precedence. Additional \(...\) can be inserted like parentheses to specify different arrangements of RowBox objects.
  • The boxes or strings in a RowBox are output in a row with their baselines aligned.
  • In InputForm, RowBox objects are output using \(...\).
  • In StandardForm, explicit RowBox objects are output literally. You can use DisplayForm to see the display form of such objects.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Display a row of letters and plus signs:

In[1]:=
Click for copyable input
Out[1]//DisplayForm=

Display a row of objects within paired brackets:

In[1]:=
Click for copyable input
Out[1]//DisplayForm=
New in 3 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »