BUILT-IN WOLFRAM LANGUAGE SYMBOL

Inherited

Inherited
represents an option value to be inherited from an enclosing style, cell, or notebook.

DetailsDetails

  • opt->Inherited is equivalent to giving no setting for opt at a particular level.
  • If no explicit setting is given at any level, then a builtin default value is used.
  • Inherited is always effectively replaced by an explicit value before the option setting is used.
  • If the nearest enclosing option setting is of the form , then an option setting in is taken to be equivalent to .

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Create a cell with a font-size setting overriding the notebook-level setting:

Select the cell:

Cancel the cell-level setting for FontSize, letting the higher-level setting take effect:

Now the cell itself has no option settings:

In[4]:=
Click for copyable input
Out[4]=

This makes a cell in "Text" style:

In[1]:=
Click for copyable input

This is the CellMargins setting inherited from "Text" style:

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

This cell uses its own setting for the right margin and inherits the other margins:

In[3]:=
Click for copyable input

In this case, the Inherited symbol appears in the cell's CellMargins setting:

In[4]:=
Click for copyable input
Out[4]=
Introduced in 2007
(6.0)