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


Updated In 6 Graphic
GridBox[{{box11, box12, ...}, {box21, box22, ...}, ...}]
is a low-level box construct that represents a two-dimensional grid of boxes or strings in notebook expressions.
  • GridBox is the low-level representation of Grid. Except for low-level notebook expression manipulation, GridBox should not need to be used directly.
  • In a notebook, columns of a GridBox can be added using Ctrl+, and rows using Ctrl+Enter.
  • Ctrl+, or a menu item can be used to start building a GridBox.
  • You can use tab to move from one entry in a GridBox to the next. Ctrl+Space moves out of the whole GridBox.
  • You can place parentheses around a GridBox to make it look more like a matrix, but these are by default ignored when the GridBox is interpreted.
  • The following options can be given:
BaselinePositionAutomaticthe position of the baseline for the whole grid
ColumnAlignmentsCenterhow to align columns
ColumnLinesFalsewhether to draw lines between columns
ColumnsEqualFalsewhether to make all columns equal width
ColumnSpacings0.8spacings between columns in ems
ColumnWidthsAllactual widths of columns in ems
GridDefaultElement""what to insert when a new entry is created
RowAlignmentsBaselinehow to align rows
RowLinesFalsewhether to draw lines between rows
RowMinHeight1.0the minimum total row height in x heights
RowsEqualFalsewhether to make all rows equal total height
RowSpacings1.0spacings between rows in x heights
  • GridBox is a low-level construct that works only for two-dimensional arrays; TableForm and MatrixForm are higher-level constructs that can also be used for higher-dimensional arrays.
New in 3 | Last modified in 6