I would like to set automatically the background colour of input and output cells in any newly open notebook.
How to do this?
I would like to set automatically the background colour of input and output cells in any newly open notebook.
How to do this?
Here's how to do it.
Open a private style sheet for the notebook in question by choosing Edit Stylesheet from the Format menu.
In the private style sheet window, select the cell style you want to change, say Input. An input cell template will appear in the style sheet window.
Select the cell template.
Choose the background color you want from the Background Color sub-menu of the Format menu. The background color of the template cell and all the corresponding cell in your notebook will display the new backgrond.
Repeat 2 through 4 for each cell style you want to change.
To save this change in a new style that you can apply to any notebook you open, click on the Install Stylesheet... button at right of the toolbar in the private style sheet window and follow the directions give for the dialog that appears. The new style will appear in Stylesheet sub-menu of the Format menu when you start a new Mathematica session.