Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Previous section-----Next section

2.9.19 Generating Styled Output in Notebooks

StylePrint[expr, "style"] create a new cell containing expr in the specified style
StylePrint[expr] use the default style for the notebook

Generating styled output in notebooks.
This generates a cell in section heading style.

In[1]:=  StylePrint["The heading", "Section"];


This generates a cell in input style.

In[2]:=  StylePrint[x^2 + y^2, "Input"]


Mathematica provides many capabilities for manipulating the contents of notebooks, as discussed in Section 2.11. StylePrint handles the simple case when all you want to do is to add a cell of a particular style.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: