ShowCellLabel

ShowCellLabel

is an option for Cell that specifies whether to display the label for a cell.

Details

  • ShowCellLabel is more often set for styles of cells than for individual cells.
  • With the setting CellLabelAutoDelete->True, the label for a cell is automatically deleted if the cell is modified.

Examples

Basic Examples  (1)

Create one input cell with ShowCellLabel->True and one with ShowCellLabel->False:

In[1]:=
Click for copyable input

Labels are set when the cells are evaluated, but the second input cell's label is hidden:

In[2]:=
Click for copyable input

You can see the label by turning ShowCellLabel on again:

In[3]:=
Click for copyable input

See Also

CellLabel  ShowCellTags

Tutorials

Introduced in 1996
(3.0)