Is it possible to hide the CellLabels In[n]:= and Out[n]= in a Mathematica notebook?
I don't want to hide the input or output, just the text In[n] and Out[n].
|
|
|||||
|
|
There's an option "Show In/Out Names" in the preferences (Edit menu -> Preferences) under Evaluation. It takes effect right away in the notebooks I already have open. |
||||
|
|
Method 0The All of the following methods turn off all CellLabels, not just the In/Out ones. Method 1(As mentioned in rakslice's answer) Method 2The option can also be set at a notebook, section or cell level (or globally) using the option inspector.
For example, in the following screenshot I've turned off the cell labels for "Untitled 1" but left them on for "Untitled 2":
Method 3You can also leave the CellLabel In/Out numbering in the notebook but turn it off when you print by changing a setting in the stylesheet. Go to Format > Edit Stylesheet. You'll get the blank, top-level stylesheet for the notebook you're working on. It inherits its styles from the "default.nb" stylesheet. Click on that link and copy the
You could also create your own stylesheet to use in other notebooks or even change the default stylesheet to reflect your preferences. |
||||

