CellLabel

CellLabel

is an option for Cell which gives the label to use for a particular cell.

Details

  • CellLabel->"" specifies that no label should be used for a cell.
  • Cell labels are displayed when the setting ShowCellLabel->True is made. They may also be displayed in modified form with the setting ShowCellLabel->Automatic.
  • Cell labels are typically generated automatically when cells appear as input or output to the Wolfram Language kernel.
  • Cell labels are automatically deleted when a cell is modified or saved if CellLabelAutoDelete->True. If CellLabelAutoDelete->Automatic, then they are only automatically deleted if the cell is modified.

Examples

Basic Examples  (2)

Select the cell being evaluated and get its CellLabel setting:

Attach a label to a text cell:

Introduced in 1996
 (3.0)
 |
Updated in 2018
 (11.3)