Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Notebooks and Documents > Notebook Formatting & Styling > Cell Styling Options > CellLabelAutoDelete >
Mathematica > Notebooks and Documents > Notebook Formatting & Styling > Stylesheets > Cell Styling Options > CellLabelAutoDelete >

CellLabelAutoDelete

CellLabelAutoDelete
is an option for Cell which specifies whether a label for the cell should be automatically deleted if the contents of the cell are modified or the notebook containing the cell is saved in a file.
Create a notebook with the setting CellLabelAutoDelete->True:
When inputs are evaluated, cell labels are attached to the input and output cells:
If you edit a previously evaluated input cell, its cell label is cleared:
When the notebook is saved, cell labels are automatically deleted:
When the notebook is reopened, no cell labels are present:
Create a notebook with the setting CellLabelAutoDelete->True:
When inputs are evaluated, cell labels are attached to the input and output cells:
If you edit a previously evaluated input cell, its cell label is cleared:
When the notebook is saved, cell labels are automatically deleted:
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
When the notebook is reopened, no cell labels are present:
Create a notebook with the setting CellLabelAutoDelete->False:
When inputs are evaluated, cell labels are attached to the input and output cells:
Because CellLabelAutoDelete is turned off, editing an input does not reset its cell label:
Neither does saving and reopening the notebook:
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF