Styles and Fonts in Output
|Style[expr,options]||print with the specified style options|
|Style[expr,"style"]||print with the specified cell style|
Specifying output styles.
is here shown in boldface.
This shows the word
in font sizes from 10 to 20 points.
This shows the text in the Helvetica font.
allows an abbreviated form of some options. For options such as FontSize
, you can include merely the setting of the option.
Options are specified here in a short form.
A few options that can be used in Style.
If you use the notebook front end for Mathematica
, then each piece of output that is generated will by default be in the style of the cell in which the output appears. By using Style
however, you can tell Mathematica
to output a particular expression in a different style.
Here is an expression output in the style normally used for section headings.
"Cells as Mathematica Expressions
" describes in more detail how cell styles work. By using Style
you can generate output that is in a particular style, but with certain options modified.