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


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"}.
See Also
Related Guides
History
Text
Wolfram Research (2018), CellLabelStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/CellLabelStyle.html.
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
BibTeX
@misc{reference.wolfram_2025_celllabelstyle, author="Wolfram Research", title="{CellLabelStyle}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ref/CellLabelStyle.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_celllabelstyle, organization={Wolfram Research}, title={CellLabelStyle}, year={2018}, url={https://reference.wolfram.com/language/ref/CellLabelStyle.html}, note=[Accessed: 11-August-2025]}