Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Notebooks and Documents > Notebook Basics > Cell Groups and Outlining > Controlling Cell Grouping > CellGroup >
Mathematica > Notebooks and Documents > Notebook Formatting & Styling > Stylesheets > Controlling Cell Grouping > CellGroup >

CellGroup

CellGroup
gives an open group of cells that can appear in a Mathematica notebook.
CellGroup
gives a cell group in which only the first cell is open.
CellGroup
gives a cell group in which only the last cell is open.
CellGroup
gives a cell group in which cells , , ... are open.
  • If any 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.
You can nest one cell group within another:
Show only the first cell in the group:
Show only the second cell in the group:
Show only the first and last cells:
By default, notebooks use automatic grouping that ignores CellGroup structures:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF