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.13 Options for Notebooks

Ways to change the overall options for a notebook.

  • This creates a notebook displayed in a

    window with a thin frame.
  • In[1]:= NotebookCreate[WindowFrame->"ThinFrame",
    WindowSize->{40, 30}]

    Style options for a notebook.

    In giving style definitions for a particular notebook, Mathematica allows you either to reference another notebook, or explicitly to include the Notebook expression that defines the styles.

    General options for notebooks.

  • With CellGrouping->Automatic, cells are automatically grouped based on their style.
  • With CellGrouping->Manual, you have to group cells by hand.

  • Options specifying default styles for cells created in a notebook.

    Mathematica allows you to take any cell option and set it at the notebook level, thereby specifying a global default for that option throughout the notebook.

    A few cell options that are often set at the notebook level.

  • Here is a notebook with the Background option set at the notebook level.

  • Characteristics of the notebook window.

    WindowSize allows you to specify how large you want a window to be; WindowMargins allows you to specify where you want the window to be placed on your screen. The setting WindowMargins->




    gives the margins in printer's points to leave around your window on the screen. Often only two of the margins will be set explicitly; the others will be Automatic

    , indicating that these margins will be determined from the particular size of screen that you use.

    Typical possible settings for WindowFrame.

    Mathematica allows many different types of windows. The details of how particular windows are rendered may differ slightly from one computer system to another, but their general form is always the same. WindowFrame specifies the type of frame to draw around the window. WindowElements gives a list of specific elements to include in the window.

    Some typical possible entries in the WindowElements list.

  • Here is a window with a status area and horizontal scroll bar, but no magnification pop-up or vertical scroll bar.

  • Some typical possible entries in the WindowToolbars list.

  • Here is a window with ruler and edit toolbars.