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 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)

Create a new, empty notebook:

Create a template notebook:

Scope  (5)

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:

Create a package notebook:

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).

CMS

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_createnotebook, organization={Wolfram Research}, title={CreateNotebook}, year={2021}, url={https://reference.wolfram.com/language/ref/CreateNotebook.html}, note=[Accessed: 11-October-2024 ]}