Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica Technical FAQs Services & Resources / Mathematica / Notebook Interface
-----
 /
Options
*Mathematica
*Network Mathematica
*webMathematica
*gridMathematica
*Personal Grid Edition
*Wolfram Workbench
*Wolfram Education Group
*Application Packages
*Mathematica for Students
*Mathematica CalcCenter
*Publicon
*A New Kind of Science Explorer
*Mathematical Explorer
*Mathematica Teacher's Edition
*Calculus WIZ
*Mathematica Player
*Ask about this page
*Print this page
*Email this page
*Give us feedback
*
Sign up for our newsletter:

How does the Mathematica front end determine what options to use?

Options can be set at several different levels. As explained in Section 2.10.8 of The Mathematica Book, there are five levels at which options can be set: Global, Notebook, Style, Cell, and Selection. Options are saved in various locations, depending on which level you wish to set the option.

Global options are saved in the init.m file located in your preferences directory.

Notebook options are saved in one of two places: in the definition of the style sheet used by the notebook, or in options stored in the individual notebook itself.

Style options are defined in the style sheet.

Cell options are stored in the Cell command within the notebook.

Selection options are stored in StyleBox definitions within the Cell command.

The Mathematica front end use inheritance to determine which option to use.

“Inheritance” means that there is a hierarchy which determines when an option is applied. For example, if Section cells are set to have a dingbat in the style sheet, then all the Section cells in your notebook will inherit a dingbat unless you explicitly select a Section cell and remove the dingbat.

Mathematica looks at the lowest level and works its way up until it encounters an option setting. Thus, selection options override cell options which override style options which override notebook options which override global options.

This does not mean that every option is available at every level. Some options of higher levels are inappropriate for lower levels. For example, the background color for a notebook can be set at the notebook level but not the cell level.

Options are most commonly changed through menu commands.

Style options are accessible through the style sheet.

http://support.wolfram.com/mathematica/interface/options/stylesheet.html

but the full set of options are accessible through the Option Inspector.

http://support.wolfram.com/mathematica/interface/options/inspector.html

Download this FAQ as a Mathematica 5.2 Notebook






 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja]