In version 9 we can set the background to an image, however I'd like to save this into a stylesheet that can be installed.
Asked
Active
Viewed 345 times
8
-
Related: how-can-i-set-an-image-to-be-the-notebooks-background – Sjoerd C. de Vries Mar 13 '13 at 13:25
1 Answers
7
sample image you want to use as background:
image = Import["ExampleData/lena.tif"];
Create cell that you need to put in style definition:
Cell[StyleData["Notebook"],
System`BackgroundAppearance -> image] // CellPrint

Open stylesheet editor (Format -> Edit StyleSheet...)
Copy the cell you just created and install stylesheet.
halmir
- 15,082
- 37
- 53
-
does this work also in version 8.x? Why is System`BackgroundAppearance displayed in red? – magma Mar 13 '13 at 13:28
-