Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Controlling Cell Grouping >

CellGroup

CellGroup[{cell1, cell2, ...}]
gives an open group of cells that can appear in a Mathematica notebook.
CellGroup[{cell1, cell2, ...}, 1]
gives a cell group in which only the first cell is open.
CellGroup[{cell1, cell2, ...}, -1]
gives a cell group in which only the last cell is open.
CellGroup[{cell1, cell2, ...}, {i1, i2, ...}]
gives a cell group in which cells i1, i2, ... are open.
  • If any celli is a string or Text object, it will be wrapped with TextCell. If it is any other type of expression, it will be wrapped with ExpressionCell.
New in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team