Inherited

Inherited

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

Details

  • 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 opt->{a1,b1,}, then an option setting in opt->{Inherited,b2,} is taken to be equivalent to opt->{a1,b2,}.

Examples

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:

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:

Wolfram Research (2007), Inherited, Wolfram Language function, https://reference.wolfram.com/language/ref/Inherited.html.

Text

Wolfram Research (2007), Inherited, Wolfram Language function, https://reference.wolfram.com/language/ref/Inherited.html.

BibTeX

@misc{reference.wolfram_2020_inherited, author="Wolfram Research", title="{Inherited}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/Inherited.html}", note=[Accessed: 22-April-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_inherited, organization={Wolfram Research}, title={Inherited}, year={2007}, url={https://reference.wolfram.com/language/ref/Inherited.html}, note=[Accessed: 22-April-2021 ]}

CMS

Wolfram Language. 2007. "Inherited." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Inherited.html.

APA

Wolfram Language. (2007). Inherited. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Inherited.html