Notebooks as Documents
Mathematica notebooks allow you to create documents that can be viewed interactively on screen or printed on paper.
Particularly in larger notebooks, it is common to have chapters, sections and so on, each represented by groups of cells. The extent of these groups is indicated by a bracket on the right.
The grouping of cells in a notebook is indicated by nested brackets on the right.
A group of cells can be either open or closed. When it is open, you can see all the cells in it explicitly. But when it is closed, you see only the cell around which the group is closed. Cell groups are typically closed around the first or heading cell in the group, but you can close a group around any cell in that group.
Large notebooks are often distributed with many closed groups of cells, so that when you first look at the notebook, you see just an outline of its contents. You can then open parts you are interested in by double-clicking the appropriate brackets.
Double-clicking the bracket that spans a group of cells closes the group, leaving only the first cell visible.
When a group is closed, the bracket for it has an arrow at the bottom. Double-clicking this arrow opens the group again.
Double-clicking the bracket of a cell that is not the first of a cell group closes the cell group around that cell and creates a bracket with up and down arrows (or only an up arrow if the cell was the last in the group).
Each cell within a notebook is assigned a particular style which indicates its role within the notebook. Thus, for example, material intended as input to be executed by the Mathematica kernel is typically in Input style, while text that is intended purely to be read is typically in Text style.
The Mathematica front end provides menus and keyboard shortcuts for creating cells with different styles, and for changing styles of existing cells.
This shows cells in various styles. The styles define not only the format of the cell contents, but also their placement and spacing.
By putting a cell in a particular style, you specify a whole collection of properties for the cell, including for example how large and in what font text should be given.
The Mathematica front end allows you to modify such properties, either for complete cells, or for specific material within cells.
Even within a cell of a particular style, the Mathematica
front end allows a wide range of properties to be modified separately.
Ordinary Mathematica notebooks can be read by non-Mathematica users using the free product, Wolfram CDF Player, which allows viewing and printing, but does not allow computations of any kind to be performed. This product also supports computable document files (.cdf) and notebook player files (.nbp), which have been specially prepared by Wolfram Research to allow interaction with dynamic content from the output of Manipulate. For example, all the notebook content on The Wolfram Demonstrations Project site is available as notebook player files.
|Mathematica front end||creating and editing Mathematica notebooks|
|Mathematica kernel||doing computations in notebooks|
|Wolfram CDF Player||reading .cdf files and running Demonstrations|
Programs required for different kinds of operations with notebooks.