When Mathematica evaluates a cell, it gives the Input cell and Output cell the CellLabels In[$Line]:=
and Out[$Line]=
where $Line is a counter that gets incremented on each evaluated input.
If you input something like TraditionalForm[expr]
or TeXForm[expr]
(or any other *Form from $OutputForms
) then the name of the form also gets added to the Output cell's label. eg Out[1]//TraditionalForm=
.
I can't find any way of customising these labels.
They can be disabled in the Preferences dialog.
They don't seem to be in the StyleSheet options for Input and Output cells - although the options pertaining to the CellLabel behaviour are there.
Nor in the Notebook options - although in the Option Inspector: Notebook Options > Evaluation Options > EvaluationCompletionAction can modify the CellLabels by adding a TimeStamp. It can also show the Timing in the StatusArea, bit it gets removed as soon as something else prints there.
Nor any of the init.m type configuration files.
So, does anyone know where these CellLabels are generated?
In particular, I am interested in adding the Timing
to the CellLabel for Output cells.