CreateNotebook

CreateNotebook[]
creates a generic empty notebook and opens it in the front end.

CreateNotebook["type"]
creates an empty notebook of the specified type and opens it in the front end.

CreateNotebook["type",obj]
replaces the notebook represented by the notebook object obj by a version converted to be of the specified type.

Details and OptionsDetails and Options

  • Possible notebook types include:
  • "Default"default generic notebook with no attached tools
    "Demonstration"notebook for creating a Demonstration
    "SlideShow"notebook for creating a slide show
    "Template"template notebook with authoring toolbar
    "Testing"notebook for creating verification tests
  • CreateNotebook allows any notebook option to be given.
  • CreateNotebook returns a NotebookObject corresponding to the notebook it creates.
  • CreateNotebook[type,obj] modifies the contents of obj.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Create a new, empty notebook:

In[1]:=
Click for copyable input
Out[1]=

Create a template notebook:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)