13.07.2015 Views

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

Mathematica Tutorial: Notebooks And Documents - Wolfram Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Notebooks</strong> and <strong>Documents</strong> 145Manipulating <strong>Notebooks</strong>Cells as <strong>Mathematica</strong> ExpressionsLike other objects in <strong>Mathematica</strong>, the cells in a notebook, and in fact the whole notebook itself,are all ultimately represented as <strong>Mathematica</strong> expressions. With the standard notebook frontend, you can use the command Show Expression to see the text of the <strong>Mathematica</strong> expressionthat corresponds to any particular cell.Show Expression menu item toggle between displayed form and underlying Mathemat -ica expressionCtrl+* or Ctrl+8 (between existingcells)Handling Cell expressions in the notebook front end.put up a dialog box to allow input of a cell in <strong>Mathematica</strong>expression formHere is a cell displayed in its usual way in the front end.Here is the underlying <strong>Mathematica</strong> expression that corresponds to the cell.Cell@contents,"style"DCell@contents,"style",optionsDCell@contents,"style 1 ","style 2 ",…,optionsDa cell with a specific stylea cell with additional options specifieda cell with several styles<strong>Mathematica</strong> expressions corresponding to cells in notebooks.Within a given notebook, there is always a collection of styles that can be used to determinethe appearance and behavior of cells. Typically the styles are named so as to reflect what rolecells which have them will play in the notebook.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!