MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: What generates the In/Out CellLabels and how do I change them?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113207] Re: What generates the In/Out CellLabels and how do I change them?
  • From: John Fultz <jfultz at wolfram.com>
  • Date: Tue, 19 Oct 2010 05:53:30 -0400 (EDT)
  • Reply-to: jfultz at wolfram.com

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[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 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)




  • Prev by Date: Re: argument list for ArrowBox?
  • Next by Date: Working with ppatterns
  • Previous by thread: Re: What generates the In/Out CellLabels and how do I change them?
  • Next by thread: Graphics driver for stereoscopic 3D