Mathematica notebooks consist of sequences of cells. The hierarchy of cells serves as a structure for organizing the information in a notebook, as well as specifying the overall look of the notebook.
Font, color, spacing, and other properties of the appearance of cells are controlled using stylesheets. The various kinds of cells associated with a notebook's stylesheet are listed in Format ► Style. Mathematica comes with a collection of color and black-and-white stylesheets, which are listed in the Format ► Stylesheet menu.
The insertion point is indicated by the cell insertion bar, a solid gray line with a small black cursor running horizontally across the notebook. The cell insertion bar is the place where new cells will be created, either as you type or programmatically. To set the position of the insertion bar, click in the notebook.
To Create a New Cell:
To Create a New Cell to Hold Ordinary Text:
To Change the Style of a Cell:
To Close a Group of Cells:
Double-click the outermost cell bracket of the group.
When a group is closed, only the first cell in the group is displayed by default. The group bracket is shown with a triangular flag at the bottom.
To specify which cells remain visible when the cell group is closed, select those cells and double-click to close the group. The closed group bracket is shown with triangular flags at the top and bottom if the visible cells are within a cell group, or with a triangular flag at the top if they are at the end of a cell group.
To Open a Group of Cells:
Double-click a closed group's cell bracket.
To Print a Notebook:
To Change the Overall Look of a Notebook:
Changes to a notebook that only involve opening or closing cell groups will not cause the front end to ask you if you want to save such changes when you close the notebook before saving. To save these changes, use File ► Save before you close the notebook or quit Mathematica.