DOCUMENTATION CENTER SEARCH
Mathematica
>
Document Generation
>
Built-in
Mathematica
Symbol
Cells as Mathematica Expressions
Tutorials »
|
Print
PrintTemporary
NotebookWrite
See Also »
|
Document Generation
Low-Level Interface Control
More About »
CellPrint
CellPrint
[
expr
]
inserts
expr
as a complete cell in the current notebook just below the cell being evaluated.
CellPrint
[{
expr
1
,
expr
2
,
...
}]
inserts a sequence of cells.
MORE INFORMATION
If
expr
has head
TextCell
,
ExpressionCell
or
CellGroup
, it is inserted unchanged into the notebook.
»
If
expr
is a string or
Text
object, a text cell is created to contain it.
»
If
expr
is any other type of expression, an expression cell is created to contain it.
»
With a text-based front end,
CellPrint
[
cell
]
does the same as applying
Print
to the contents of
cell
.
Cells generated by
CellPrint
by default have
GeneratedCell
->
True
, so that they are overwritten if they are regenerated.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Create a text cell from a
TextCell
object:
In[1]:=
Create a sequence of text cells:
In[1]:=
Out[1]=
In[2]:=
Create a text cell from a string:
In[1]:=
a
Scope
(4)
Properties & Relations
(1)
SEE ALSO
Print
PrintTemporary
NotebookWrite
TUTORIALS
Cells as
Mathematica
Expressions
MORE ABOUT
Document Generation
Low-Level Interface Control
New in 3 | Last modified in 6
© 2008 Wolfram Research, Inc.