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

Inherited

Inherited
represents an option value to be inherited from an enclosing style, cell, or notebook.
  • 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 built-in 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 .
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:
This makes a cell in "Text" style:
This is the CellMargins setting inherited from "Text" style:
This cell uses its own setting for the right margin and inherits the other margins:
In this case, the Inherited symbol appears in the cell's CellMargins setting:
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]=
New in 6