Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Document Generation >

CellPrint

Updated In 6 Graphic
CellPrint[expr]
inserts expr as a complete cell in the current notebook just below the cell being evaluated.
CellPrint[{expr1, expr2, ...}]
inserts a sequence of cells.
  • 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.
Create a text cell from a TextCell object:
In[1]:=
Click for copyable input
 
Create a sequence of text cells:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
 
Create a text cell from a string:
In[1]:=
Click for copyable input
a
New in 3 | Last modified in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team