NotebookTemplate
NotebookTemplate[nb]
yields a TemplateObject that represents a notebook template to be applied using functions like GenerateDocument and FileTemplateApply.
Details
- The notebook nb can be given as a notebook expression, a notebook object, or a string corresponding to a file.
- A blank template notebook suitable to be used in NotebookTemplate can be opened in the front end using CreateNotebook["Template"].
Examples
Basic Examples (1)
Apply a notebook template with a slot named "author":
Alternatively, generate a TemplateObject from an existing notebook:
Apply the template using TemplateApply:
Text
Wolfram Research (2014), NotebookTemplate, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookTemplate.html.
CMS
Wolfram Language. 2014. "NotebookTemplate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NotebookTemplate.html.
APA
Wolfram Language. (2014). NotebookTemplate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotebookTemplate.html