# How can I add a background to a stylesheet?

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.

• Mar 13, 2013 at 13:25

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"],
SystemBackgroundAppearance -> image] // CellPrint


Open stylesheet editor (Format -> Edit StyleSheet...)

Copy the cell you just created and install stylesheet.

• does this work also in version 8.x? Why is SystemBackgroundAppearance displayed in red? Mar 13, 2013 at 13:28
• It doesn't work in v8. Color should be black. Mar 13, 2013 at 17:46