ShowCellLabel

ShowCellLabel

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

Details

  • ShowCellLabel can take the values True or False to show or hide the cell label.
  • ShowCellLabel->Automatic works identically to ShowCellLabel->True if the cell had been last evaluated in a currently running kernel session. If the kernel session that last evaluated the cell is no longer running, then Automatic changes the display by obscuring $Line and changing the onscreen style used to display the label.
  • ShowCellLabel is more often set for styles of cells than for individual cells.
  • If the CellLabelAutoDelete option is set to True or Automatic, the label for a cell is automatically deleted when the cell is modified.

Examples

Basic Examples  (1)

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

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

You can see the label by turning ShowCellLabel on again:

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

Text

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

BibTeX

@misc{reference.wolfram_2020_showcelllabel, author="Wolfram Research", title="{ShowCellLabel}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/ShowCellLabel.html}", note=[Accessed: 27-February-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_showcelllabel, organization={Wolfram Research}, title={ShowCellLabel}, year={2018}, url={https://reference.wolfram.com/language/ref/ShowCellLabel.html}, note=[Accessed: 27-February-2021 ]}

CMS

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

APA

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