CellLabelTemplate
✖
CellLabelTemplate
✖
is an option for Cell that specifies string templates to use for formatting the default labels used for marking inputs and outputs
Details

- CellLabelTemplate is not used if ShowCellLabelTrue or CellLabelAutoDeleteAutomatic is set.
- CellLabelTemplate->< > uses the default cell labels provided by the kernel.
- CellLabelTemplate-><"In"template1,"Out"template2 > specifies a StringTemplate to use for input and output labels, respectively.
- CellLabelTemplate takes an association with the following elements:
-
"In" None string template to use for input labels "InExpired" "In[]:=" string template to use for labels of inputs that no longer correspond to a running kernel "Out" None string template to use for output labels "OutExpired" "Out[]=" string template to use for labels of outputs that no longer correspond to a running kernel - The templatei are typically specified as a raw string that is interpreted as StringTemplate with two positional arguments. `1` represents the position line number and `2` represents a form qualifier, if present, such as //InputForm.
Wolfram Research (2022), CellLabelTemplate, Wolfram Language function, https://reference.wolfram.com/language/ref/CellLabelTemplate.html.
✖
Wolfram Research (2022), CellLabelTemplate, Wolfram Language function, https://reference.wolfram.com/language/ref/CellLabelTemplate.html.
Text
Wolfram Research (2022), CellLabelTemplate, Wolfram Language function, https://reference.wolfram.com/language/ref/CellLabelTemplate.html.
✖
Wolfram Research (2022), CellLabelTemplate, Wolfram Language function, https://reference.wolfram.com/language/ref/CellLabelTemplate.html.
CMS
Wolfram Language. 2022. "CellLabelTemplate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellLabelTemplate.html.
✖
Wolfram Language. 2022. "CellLabelTemplate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CellLabelTemplate.html.
APA
Wolfram Language. (2022). CellLabelTemplate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellLabelTemplate.html
✖
Wolfram Language. (2022). CellLabelTemplate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CellLabelTemplate.html
BibTeX
✖
@misc{reference.wolfram_2025_celllabeltemplate, author="Wolfram Research", title="{CellLabelTemplate}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/CellLabelTemplate.html}", note=[Accessed: 05-May-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_celllabeltemplate, organization={Wolfram Research}, title={CellLabelTemplate}, year={2022}, url={https://reference.wolfram.com/language/ref/CellLabelTemplate.html}, note=[Accessed: 05-May-2025
]}