This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

NotebookPut

NotebookPut[expr]
creates a notebook corresponding to expr and makes it the currently selected notebook in the front end.
NotebookPut
creates a new empty notebook.
NotebookPut
replaces the notebook represented by the notebook object obj with one corresponding to expr.
  • NotebookPut is a low-level function that allows you to take a raw notebook expression in the kernel and make it an open notebook in the front end.
  • The expression expr should have head Notebook, and contain raw Cell objects, with boxes data.
  • NotebookPut overwrites whatever data was contained in the notebook represented by the notebook object obj. »
Assign a generated notebook object to a symbol:
Rewrite the notebook content:
 
Assign a generated notebook object to a symbol:
In[1]:=
Click for copyable input
Rewrite the notebook content:
Set the background color:
An explicit setting of WindowTitle is reflected in the name of the resulting notebook object:
Create a palette for generating a choice of new template notebooks using specific stylesheets:
NotebookPut and similar low-level functions require detailed specifications:
CreatePalette and other high-level notebook functions create the same result more easily:
Create a staggered series of notebooks using Map and WindowMargins:
New in 3 | Last modified in 6