Row

Row[{expr1,expr2,}]
is an object that formats with the arranged in a row, potentially extending over several lines.

Row[list,s]
inserts s as a separator between successive elements.

Details and OptionsDetails and Options

  • Row[list] by default formats the as if they appeared as successive elements in StandardForm input, with no extra space in between.
  • The separator s can be any expression. Typical choices include:
  • " "a single-space character
    ", "a comma and space
    Spacer[w]a spacer w printer's points wide
    Invisible[expr]space as wide as the expression expr
  • When Row extends onto multiple lines, it chooses where to break just like an ordinary Wolfram Language expression, and inserts indentation on subsequent lines.
  • The elements can be strings, graphics, or any other expressions.
  • The are arranged so that their baselines or alignment points are aligned.
  • The following options can be given:
  • Alignment{Left,Baseline}horizontal and vertical alignment of elements
    BackgroundNonewhat background colors to use
    BaselinePositionAutomaticwhat to align with a surrounding text baseline
    BaseStyle{}base style specifications for the row
    FrameNonewhether to draw a frame
    FrameMarginsAutomaticmargins to leave inside the frame
    FrameStyleAutomaticstyles to use for frames
    ImageMargins0margins to add outside the display area
    ImageSizeAutomaticthe overall image size of the displayed row
    RoundingRadius0radius for rounded corners
  • Row[] formats as a row of expressions in StandardForm, TraditionalForm, and OutputForm.
  • In InputForm, Row[] formats literally as Row[].
  • TextCell[Row[list],] creates a text cell that directly contains strings and styled strings in list.
Introduced in 2007
(6.0)
| Updated in 2008
(7.0)