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[expr, obj]
replaces the notebook represented by the notebook object obj with one corresponding to expr.

DetailsDetails

  • 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 returns a NotebookObject corresponding to the notebook it creates.
  • NotebookPut[expr, obj] overwrites whatever data was contained in the notebook represented by the notebook object obj. »
  • NotebookPut can take any notebook option. »
New in 3 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »