This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

BaseStyle

BaseStyle
is an option for formatting and related constructs that specifies the base style to use for them.
  • An option setting BaseStyle->spec in a construct obj specifies that the construct should always automatically be displayed as Style.
  • Any style specification as used in Style can be used as a setting for BaseStyle.
  • Typical forms of settings include:
"style"a named style from the current stylesheets
{opt1->val1,...}a list of explicit option settings
{"style",opt1->val1,...}a named style modified by option settings
  • Color directives such as Red, as well as text specifications such as Bold or Small, can be given in place of options, just as in Style.
  • Any outside styles not explicitly overridden by settings in BaseStyle will still be used.
  • Style specifications given in BaseStyle are typically added to default specifications given in the current stylesheet.
  • For an object of type obj, the default style specifications are typically those associated with a style named .
Set the starting style:
Use a named style:
Set multiple font option settings:
Set the starting style:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Use a named style:
In[1]:=
Click for copyable input
Out[1]=
 
Set multiple font option settings:
In[1]:=
Click for copyable input
Out[1]=
New in 6 | Last modified in 7