Row
Details and Options
- Row [list] by default formats the expri 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
- 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 expri can be strings, graphics, or any other expressions.
- The expri are arranged so that their baselines or alignment points are aligned.
- The following options can be given:
-
- 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.
Examples
open all close allBasic Examples (2)
Include a separator:
Scope (2)
Row can wrap onto several lines:
Elements appear in StandardForm :
Options (11)
Alignment (1)
Adjust the alignment within the ImageSize :
Background (1)
Change the overall background color:
BaselinePosition (1)
Align with surrounding text:
Editable (1)
Allow editing within the row by default:
Disallow editing within the row:
Frame (1)
Frame the entire row:
FrameMargins (1)
Add space within the frame:
FrameMargins also applies to the background:
FrameStyle (1)
Change the color of the frame:
ImageMargins (1)
Add margins around each row:
Leave different margins on each side:
ImageSize (1)
Specify the overall size:
Specifying a small width may force line-wrapping:
RoundingRadius (1)
Round the corners of a frame:
RoundingRadius also applies to the background:
Selectable (1)
Allow selecting within the row by default:
Explicitly disallow selecting within the row:
Applications (3)
Display a relation:
Create a row of framed objects:
Create a list of countries separated by continents:
Possible Issues (2)
FrameMargins and RoundingRadius have no visible effect unless Frame->True :
Use FrameStyle->None to use other options without adding a frame:
Vertically spanning operators do not grow when passed in string form to Row :
Use RawBoxes to make operators vertically span the contents:
See Also
Tech Notes
Related Workflows
- Add Styling to Text ▪
- Create a Palette
Text
Wolfram Research (2007), Row, Wolfram Language function, https://reference.wolfram.com/language/ref/Row.html (updated 2008).
CMS
Wolfram Language. 2007. "Row." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/Row.html.
APA
Wolfram Language. (2007). Row. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Row.html
BibTeX
@misc{reference.wolfram_2025_row, author="Wolfram Research", title="{Row}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Row.html}", note=[Accessed: 04-January-2026]}
BibLaTeX
@online{reference.wolfram_2025_row, organization={Wolfram Research}, title={Row}, year={2008}, url={https://reference.wolfram.com/language/ref/Row.html}, note=[Accessed: 04-January-2026]}