Can I customize the In[]
and Out[]
headers? I'd like to add $UserName
, $MachineName
and DateString[]
, evaluated at cell creation time, into those headers, so it's easy to know by whom and when any particular cell was generated by a glance. This is similar to why/how people customize UNIX terminal prompt.
$\begingroup$
$\endgroup$
2
1 Answer
$\begingroup$
$\endgroup$
2
Maybe something involving CellEpilog
:
SetOptions[
EvaluationNotebook[],
CellLabelAutoDelete -> False,
CellEpilog :> SetOptions[EvaluationCell[],
CellLabel -> StringJoin["Kuba was here ", DateString[]]]]
You can edit Stylesheet
if you want to. I'm not sure if out
could be modyfied this way too, but at the end of the day it is InputCell
what is evaluated, isn't it? :)
-
$\begingroup$ How would you suppress all output cells this way? $\endgroup$ Commented Jun 18, 2015 at 14:53
-
$\begingroup$ @RolfMertig not sure what do you mean. $\endgroup$– KubaCommented Jun 20, 2015 at 8:23
CellLabel
$\endgroup$