is a notebook option which specifies the default style to use for new cells created in the notebook.
DefaultNewCellStyle
is a notebook option which specifies the default style to use for new cells created in the notebook.
Details
- A typical default setting for DefaultNewCellStyle is "Input".
- DefaultNewCellStyle determines the style for new cells created interactively in the front end.
Examples
Basic Examples (2)
Create a new notebook in which the default style for new cells is "Input":
nb = CreateDocument[{}, DefaultNewCellStyle -> "Input"];NotebookWrite[nb, "2+2"]Create a new notebook in which the default style for new cells is "Text":
nb = CreateDocument[{}, DefaultNewCellStyle -> "Text"];NotebookWrite[nb, "2+2"]See Also
Tech Notes
Related Guides
Related Workflows
- Set up a Default Style to Use for Cells
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), DefaultNewCellStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/DefaultNewCellStyle.html.
CMS
Wolfram Language. 1996. "DefaultNewCellStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DefaultNewCellStyle.html.
APA
Wolfram Language. (1996). DefaultNewCellStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DefaultNewCellStyle.html
BibTeX
@misc{reference.wolfram_2026_defaultnewcellstyle, author="Wolfram Research", title="{DefaultNewCellStyle}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/DefaultNewCellStyle.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_defaultnewcellstyle, organization={Wolfram Research}, title={DefaultNewCellStyle}, year={1996}, url={https://reference.wolfram.com/language/ref/DefaultNewCellStyle.html}, note=[Accessed: 12-June-2026]}