is a notebook option that specifies the size of window that should be used to display a notebook on the screen.


  • The following settings can be given:
  • wspecwidth specified by wspec; height determined automatically
    {wspec,hspec}width and height specified
    Fullfull screen
  • Specifications for both width and height can be any of the following:
  • Automaticdetermined by WindowMargins and screen size
    Tiny, Small, Medium, Largepredefined sizes
    dd printer's points
    72didi inches
    Scaled[s]a fraction s of the screen
    Alllarge enough to fit all visible contents  »
  • The setting for WindowSize changes whenever you resize a window interactively in the front end.
  • On most computer systems, the front end does not allow window sizes below a certain minimum value.
  • The setting for WindowSize specifies the size of the content area of the window, excluding any frame.
  • With WindowSize->Full, a window will be shown full screen on the main monitor where it appears.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Create windows of varying size:

Click for copyable input

Create a window just large enough to fit the contents:

Click for copyable input
Introduced in 1996
| Updated in 2007
Translate this page: