Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Programming / Flow Control /

StylePrint

FilledSmallSquare StylePrint[expr, "style"] creates a new cell in the current notebook with the specified style, and prints expr into it.

FilledSmallSquare StylePrint[expr] uses the default style for the current notebook.

FilledSmallSquare StylePrint creates a new cell immediately after the cell that is currently being evaluated.

FilledSmallSquare StylePrint[expr, "style", opts] can be used to specify options for the cell that is created.

FilledSmallSquare StylePrint is a special case of NotebookWrite.

FilledSmallSquare With a text-based front end, StylePrint does the same as Print.

FilledSmallSquare Cells generated by StylePrint by default have GeneratedCell->True and CellAutoOverwrite->True.

FilledSmallSquare StylePrint[expr, "style"] generates a whole cell with the specified style; Print[StyleForm[expr, "style"]] generates a cell with the default style but containing a StyleBox object.

FilledSmallSquare See Section 2.9.19 and Section 2.11.1.

FilledSmallSquare See also: CellPrint, Print, NotebookWrite, NotebookPrint, StyleForm.

FilledSmallSquare New in Version 3.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.