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


creates an empty notebook of the specified type and opens it in the front end.


replaces the notebook represented by the notebook object obj by a version converted to be of the specified type.

Details and Options

  • Possible notebook types include:
  • "Default"default generic notebook with no attached tools
    "DataResource"notebook for defining a data resource
    "FunctionResource"notebook for defining a function resource
    "Demonstration"notebook for creating a Demonstration
    "SlideShow"notebook for creating a slideshow
    "Template"template notebook with authoring toolbar
    "Testing"notebook for creating verification tests
    "WolframAlpha"Wolfram|Alpha-enhanced notebook
  • 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.
  • CreateNotebook[{"SlideShow",theme}] creates a slideshow with the specified theme. Available themes include "Default", "Garnet", "Earth", "Sapphire", "Opal", "Sunrise", "Steel", and "Water".


open allclose all

Basic Examples  (2)

Create a new, empty notebook:

Create a template notebook:

Scope  (4)

Create a template notebook:

Convert the resulting notebook object into a default notebook:

Create a slideshow with the "Sunrise" theme:

Create a Wolfram|Alpha-enhanced notebook:

Create a notebook with preset notebook options:

Introduced in 2014
Updated in 2017