CellLabelStyle

CellLabelStyle

is an option for Cell that specifies the style to use in displaying cell labels marking inputs and outputs.

Details

  • CellLabelStyle specifies the style used for displaying the CellLabel.
  • CellLabelStyle->style specifies that any CellLabel setting should be displayed with the specified style.
  • CellLabelStyle->{currentstyle,expiredstyle} specifies that if ShowCellLabel->Automatic is given, cell labels that were generated by a running kernel should be displayed with currentstyle. After the kernel session ends, any cell labels generated will instead be displayed with expiredstyle.
  • Styles can be specified using named styles from the stylesheet or any font setting. Multiple settings can be combined using Directive.
  • The typical default value is CellLabelStyle->{"CellLabel","CellLabelExpired"}.

Examples

Basic Examples  (1)

Change the color of the input cell's label:

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

Text

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2021_celllabelstyle, organization={Wolfram Research}, title={CellLabelStyle}, year={2018}, url={https://reference.wolfram.com/language/ref/CellLabelStyle.html}, note=[Accessed: 04-December-2021 ]}

CMS

Wolfram Language. 2018. "CellLabelStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellLabelStyle.html.

APA

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