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

DefaultOptions

DefaultOptions
is a style option which allows default options to be specified for particular formatting and related constructs.
  • Style[expr, DefaultOptions->{obj1->opts1, ...}] specifies that when obji[...] appears in expr, it should be given the default options opti.
Locally set DefaultOptions:
Explicit option settings in an object override default options for that type of object:
Locally set DefaultOptions:
In[1]:=
Click for copyable input
Out[1]=
 
Explicit option settings in an object override default options for that type of object:
In[1]:=
Click for copyable input
Out[1]=
New in 6