Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

StyleDefinitions

StyleDefinitions
is an option for notebooks that gives definitions for the styles that can be used in a notebook.

DetailsDetails

  • StyleDefinitions->"name.nb" specifies that style definitions from the notebook "name.nb" should be used.
  • The standard notebook front end comes with a selection of style definition notebooks containing styles appropriate for particular purposes.
  • StyleDefinitions->Notebook[] allows style definitions to be given explicitly.
  • The definition for a style named "s" is specified by the options for the first cell whose contents is StyleData["s"].

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Create a document with styles defined in the standard stylesheet "Default.nb":

In[1]:=
Click for copyable input

Check the StyleDefinitions setting:

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

Use SetOptions to switch to a different stylesheet:

In[3]:=
Click for copyable input
Introduced in 1996
(3.0)