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

Row

Row
is an object that formats with the arranged in a row, potentially extending over several lines.
Row
inserts s as a separator between successive elements.
  • 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 Mathematica 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
  • TextCell creates a text cell that directly contains strings and styled strings in list.
Include a separator:
In[1]:=
Click for copyable input
Out[1]=
 
Include a separator:
In[1]:=
Click for copyable input
Out[1]=
Row can wrap onto several lines:
Elements appear in StandardForm:
Adjust the alignment within the ImageSize:
Change the overall background color:
Align with surrounding text:
Allow editing within the row by default:
Disallow editing within the row:
Frame the entire row:
Add space within the frame:
FrameMargins also applies to the background:
Change the color of the frame:
Add margins around each row:
Leave different margins on each side:
Specify the overall size:
Specifying a small width may force line-wrapping:
Round the corners of a frame:
RoundingRadius also applies to the background:
Allow selecting within the row by default:
Explicitly disallow selecting within the row:
Display a relation:
Create a row of framed objects:
Create a list of countries separated by continents:
FrameMargins and RoundingRadius have no visible effect unless Frame->True:
Use FrameStyle->None to use other options without adding a frame:
New in 6 | Last modified in 7