CellLabel

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

DetailsDetails

  • CellLabel->"" specifies that no label should be used for a cell.
  • Cell labels are displayed when the setting ShowCellLabel->True is made.
  • Cell labels are typically generated automatically when cells appear as input or output to the Mathematica kernel.
  • Cell labels are automatically deleted when a cell is modified if CellLabelAutoDelete->True.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Select the cell being evaluated and get its CellLabel setting:

In[1]:=
Click for copyable input
Out[1]=

Attach a label to a text cell:

In[1]:=
Click for copyable input
New in 3
New to Mathematica? Find your learning path »
Have a question? Ask support »