This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / The Mathematica Book / Principles of Mathematica / Manipulating Notebooks  /

2.10.11 Advanced Topic: Options for Expression Input and Output

Options associated with the interactive entering of expressions.

The options SingleLetterItalics and ZeroWidthTimes are typically set whenever a cell uses TraditionalForm.

  • Here is an expression entered with default options for a StandardForm input cell.
  • Here is the same expression entered in a cell with SingleLetterItalics->True and ZeroWidthTimes->True.

  • Options associated with interactive manipulation of expressions.

    Mathematica normally allows you to select any part of an expression that you see on the screen. Occasionally, however, you may find it useful to get Mathematica to allow only selections which correspond to complete subexpressions. You can do this by setting the option StructuredSelection->True.

  • Here is an expression with a piece selected.
  • With StructuredSelection->True only complete subexpressions can ever be selected.

  • Examples of specifying options for the display of expressions.

    As discussed in Section 2.8, Mathematica provides many options for specifying how expressions should be displayed. By using StyleBox[boxes,opts] you can apply such options to collections of boxes. But Mathematica is set up so that any option that you can give to a StyleBox can also be given to a complete Cell object, or even a complete Notebook. Thus, for example, options like Background and LineIndent can be given to complete cells as well as to individual StyleBox objects.
    There are some options that apply only to a particular type of box, such as GridBox. Usually these options are best given separately in each GridBox where they are needed. But sometimes you may want to specify default settings to be inherited by all GridBox objects that appear in a particular cell. You can do this by giving these default settings as the value of the option GridBoxOptions for the whole cell.
    For each box type named XXXBox, Mathematica provides a cell option XXXBoxOptions that allows you to specify the default options settings for that type of box.