Mathematica 9 is now available

GridBox

Usage

GridBox[{{ ,  , ... }, { ,  , ... }, ... }] represents a two-dimensional grid of boxes or strings in input and output.


Notes

• In a notebook, columns of a GridBox can be added using ControlKeyLeftModified,RightModified and rows using ControlKeyLeftModified RightModified (Control-Return).
ControlKeyLeftModified,RightModified 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. ControlKeyLeftModified RightModified moves out of the whole GridBox.
• In StandardForm and InputForm, GridBox[list] is interpreted as list.
• 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:
ColumnAlignments Center how to align columns
ColumnLines False whether to draw lines between columns
ColumnsEqual False whether to make all columns equal width
ColumnSpacings 0.8 spacings between columns in ems
ColumnWidths Automatic actual widths of columns in ems
GridBaseline Axis the position of the baseline for the whole grid
GridDefaultElement "\[Placeholder]" what to insert when a new entry is created
RowAlignments Baseline how to align rows
RowLines False whether to draw lines between rows
RowMinHeight 1.0 the minimum total row height in x-heights
RowsEqual False whether to make all rows equal total height
RowSpacings 1.0 spacings 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.
• In StandardForm, explicit GridBox objects are output literally. You can use DisplayForm to see the display form of such objects.
• New in Version 3.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.