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:

Wolfram Research (1996), CellLabel, Wolfram Language function, https://reference.wolfram.com/language/ref/CellLabel.html (updated 2018).

Text

Wolfram Research (1996), CellLabel, Wolfram Language function, https://reference.wolfram.com/language/ref/CellLabel.html (updated 2018).

CMS

Wolfram Language. 1996. "CellLabel." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2018. https://reference.wolfram.com/language/ref/CellLabel.html.

APA

Wolfram Language. (1996). CellLabel. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellLabel.html

BibTeX

@misc{reference.wolfram_2024_celllabel, author="Wolfram Research", title="{CellLabel}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/CellLabel.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_celllabel, organization={Wolfram Research}, title={CellLabel}, year={2018}, url={https://reference.wolfram.com/language/ref/CellLabel.html}, note=[Accessed: 21-November-2024 ]}