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.
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 all close allBasic 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:
See Also
CreateDocument NotebookOpen NotebookTemplate NotebookImport
Menu Items: New
Function Repository: DataResourceFromDirectory
History
Introduced in 2014 (10.0) | Updated in 2017 (11.1) ▪ 2017 (11.2) ▪ 2019 (12.0) ▪ 2020 (12.1) ▪ 2020 (12.2) ▪ 2021 (13.0)
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_2025_createnotebook, author="Wolfram Research", title="{CreateNotebook}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/CreateNotebook.html}", note=[Accessed: 06-December-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: 06-December-2025]}