NotebookApply

NotebookApply[notebook,data]
writes data into a notebook at the current selection, replacing the first selection placeholder in data by the current selection, and then setting the current selection to be just after the data written.

NotebookApply[cell,data]
writes data into a notebook in place of the specified cell.

NotebookApply[notebook,data,sel]
writes data into a notebook and then sets the current selection to be as specified by sel.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Create a notebook and select the first :

In[1]:=
Click for copyable input

Apply a template to make the the base of a superscript structure:

Apply a template and select all of the data written:

Introduced in 1996
(3.0)
| Updated in 2012
(9.0)