DefaultLabelStyle

DefaultLabelStyle
is a low-level option for formatting and related constructs that specifies the default style to use in displaying their label-like elements.

DetailsDetails

  • DefaultLabelStyle->style specifies that the label-like elements should effectively be replaced by Style[label, style].
  • LabelStyle is applied after DefaultLabelStyle.
  • The default setting for DefaultLabelStyle is typically different for different constructs.
  • For Tooltip, the default setting is DefaultLabelStyle->"TooltipLabel", and in general for an object named obj it is typically obj.
  • DefaultLabelStyle->{} introduces no default style specifications, thereby effectively allowing all outside style specifications in.
  • DefaultLabelStyle->style makes any specifications in style override corresponding outside style specifications.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

The current setting of DefaultLabelStyle:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

The default styles used:

In[1]:=
Click for copyable input
Out[1]=
New in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »