[Date Index] [Thread Index] [Author Index]
Re: What generates the In/Out CellLabels and how do I change them?
I'm not aware of options for arbitrary customization, but two things I can say... * The display can be turned off using the ShowCellLabel option, which you could apply to, e.g., the Input/Output styles. * The style of the label itself is determined by the style CellLabel, found in Core.nb. Sincerely, John Fultz jfultz at wolfram.com User Interface Group Wolfram Research, Inc. On Fri, 15 Oct 2010 13:53:07 -0400 (EDT), Simon wrote: > 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//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 Notebook Options > > Evaluation Options > EvaluationCompletionAction can modify the > CellLabels. > * Nor any of the init.m type configuration files. > > So, does anyone know where these CellLabels are generated? > (Note: This question was also asked at > http://stackoverflow.com/q/3938827/421225 > I have a feeling that this has been discussed here before - but I > could not find the thread)