Mathematica 9 is now available

The Notebook Is an Expression

The Cell Expression

[Graphics:Images/expression_gr_1.gif]

Cell Data Types

Most frequently seen cell data types (first argument of Cell expression).

TextData, BoxData, GraphicsData, RawData, CellGroupData

Cell Styles

Dictated by style sheet.

Some common styles:

Title", "Section", "Subsection", "Text", "Input", "Output", "Graphics

Determine default options to be used for cell.

Examples

[Graphics:Images/expression_gr_2.gif]

[Graphics:Images/expression_gr_3.gif]

[Graphics:Images/expression_gr_4.gif]

The Notebook Expression

[Graphics:Images/expression_gr_5.gif]

Example

NotebookPut[
  Notebook[{
    Cell["This is some text.","Text"],
    Cell[TextData[{"This text has",
            StyleBox["style!",FontSlant->"Italic"]}],
         "Text"],
    Cell[BoxData[RowBox[{"a", "+" ,
           FractionBox[RowBox[{"b", "+", "1"}], "c"]}]],
         "Input"],
    Cell[GraphicsData["Bitmap","\<\
CF5dJ6E]HGAYHf4PAg9QL6QYHg<PAVmbKF5d0`40000E00005A000`40O003
h00O5Goo000EOol001Eoo`005Goo0009Ool00`00Oomoo`09Ool000Qoo`03
001Ad`0000Yoo`0027oo10000Woo00<007ooOol017oo0006Ool400000fkD
000000020006Ool000Ioo`8000056?@007;D000P10040004Ool000Eoo`80
0003FBL0000000<00003E_/0000000Eoo`0017oo0P0000=>g00000000P00
00=Fne[lE_/00P001Goo0005Ool800000eKk00000005Ool000Ioo`07000@
1P00000UM`00IHX0100017oo0005Ool30002K_H20000166:000005/m0P00
0goo0004Ool500001fkf000QE`00ESEJ=P0000Eoo`001Woo00<0058EDQD0
100000=F=UHe00001Goo0006Ool00`00CQD0000200000g=F000000020005
Ool000Ioo`80009oo`8000Uoo`002goo00<007ooOol01goo000EOol001Eo
o`00\
\>"],"Graphics"]},
  Background->RGBColor[0.972671,0.871107,0.664073],
  WindowElements->{},
  WindowSize->{400,550}]
]