({{, (RefLink[StyleData, paclet:ref/StyleData])["style"] 
is a low-level representation of the contents of a style definition cell.}, {, (RefLink[StyleData, paclet:ref/StyleData])["style","environment"]
represents the contents of a style definition cell in the style environment "environment".}})

OpenersNotesSection(Spacer1)Details and Options

(RefLink[StyleData, paclet:ref/StyleData])["style"] will inherit any definitions of "style" from parent stylesheets.

(RefLink[StyleData, paclet:ref/StyleData])["style",(RefLink[StyleDefinitions, paclet:ref/StyleDefinitions])->(RefLink[None, paclet:ref/None])] represents the contents of a style definition cell, ignoring any definitions of "style" from parent stylesheets.

(RefLink[StyleData, paclet:ref/StyleData])["style",(RefLink[StyleDefinitions, paclet:ref/StyleDefinitions])->StyleData["inheritedstyle"]] represents the contents of a style definition cell, inheriting any definitions of "inheritedstyle" from parent stylesheets.

Style definition cells are located in stylesheets and contain option values for a particular cell style.

Style definition cells have the form (RefLink[Cell, paclet:ref/Cell])[StyleData["style"],options].

Parent stylesheets are defined by a style cell with the form (RefLink[StyleData, paclet:ref/StyleData])[(RefLink[StyleDefinitions, paclet:ref/StyleDefinitions])->stylesheet], where stylesheet can take any filename specification allowed for the (RefLink[StyleDefinitions, paclet:ref/StyleDefinitions]) option at the notebook level.

Placement of styles in the Style menu is controlled by the (RefLink[MenuSortingValue, paclet:ref/MenuSortingValue]) option to the cell containing the (RefLink[StyleData, paclet:ref/StyleData]) expression.

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (4)

Create a style definition for the cell style "MyTitle" and reformat the cell:

Define the cell style "MyText" for the "Presentation" style environment:

Create a style definition for a cell that automatically numbers itself using a CounterBox and inherits style definitions from "Section":

Create a style definition for the "Working" environment:

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[MenuCommandKey, paclet:ref/MenuCommandKey])  ▪  (RefLink[MenuSortingValue, paclet:ref/MenuSortingValue])  ▪  (RefLink[Cell, paclet:ref/Cell])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[The Structure of Cells, paclet:tutorial/TheStructureOfCells])}, {▪(RefLinkPlain[Styles and the Inheritance of Option Settings, paclet:tutorial/StylesAndTheInheritanceOfOptionSettings])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Stylesheets, paclet:guide/Stylesheets])}})}})