WOLFRAM

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 Options

  • Possible notebook types include:
  • "Default"default generic notebook with no attached tools
    "ChatDriven"notebook defaulting to LLM-based chat cells
    "ChatEnabled"notebook with code assistance chat enabled
    "ComputationalEssay"notebook for creating a computational essay
    "DataResource"notebook for defining a data resource
    "FormNotebookAuthoring"form notebook with authoring toolbar
    "FunctionResource"notebook for defining a function resource
    "Demonstration"notebook for creating a Demonstration
    "Package"notebook that saves as a package
    "QuestionNotebook"question notebook with authoring toolbar
    "Script"notebook that saves as a WolframScript script
    "SlideShow"notebook for creating a slide show
    "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".

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Create a new, empty notebook:

Out[1]=1

Create a template notebook:

Out[1]=1

Scope  (5)Survey of the scope of standard use cases

Create a template notebook:

Out[1]=1

Convert the resulting notebook object into a default notebook:

Out[2]=2

Create a slideshow with the "Sunrise" theme:

Out[1]=1

Create a Wolfram|Alpha-enhanced notebook:

Out[1]=1

Create a notebook with preset notebook options:

Out[1]=1

Create a package notebook:

Out[1]=1
Wolfram Research (2014), CreateNotebook, Wolfram Language function, https://reference.wolfram.com/language/ref/CreateNotebook.html (updated 2021).
Wolfram Research (2014), CreateNotebook, Wolfram Language function, https://reference.wolfram.com/language/ref/CreateNotebook.html (updated 2021).

Text

Wolfram Research (2014), CreateNotebook, Wolfram Language function, https://reference.wolfram.com/language/ref/CreateNotebook.html (updated 2021).

Wolfram Research (2014), CreateNotebook, Wolfram Language function, https://reference.wolfram.com/language/ref/CreateNotebook.html (updated 2021).

CMS

Wolfram Language. 2014. "CreateNotebook." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/CreateNotebook.html.

Wolfram Language. 2014. "CreateNotebook." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/CreateNotebook.html.

APA

Wolfram Language. (2014). CreateNotebook. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CreateNotebook.html

Wolfram Language. (2014). CreateNotebook. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CreateNotebook.html

BibTeX

@misc{reference.wolfram_2025_createnotebook, author="Wolfram Research", title="{CreateNotebook}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/CreateNotebook.html}", note=[Accessed: 22-April-2025 ]}

@misc{reference.wolfram_2025_createnotebook, author="Wolfram Research", title="{CreateNotebook}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/CreateNotebook.html}", note=[Accessed: 22-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_createnotebook, organization={Wolfram Research}, title={CreateNotebook}, year={2021}, url={https://reference.wolfram.com/language/ref/CreateNotebook.html}, note=[Accessed: 22-April-2025 ]}

@online{reference.wolfram_2025_createnotebook, organization={Wolfram Research}, title={CreateNotebook}, year={2021}, url={https://reference.wolfram.com/language/ref/CreateNotebook.html}, note=[Accessed: 22-April-2025 ]}