Legacy Documentation

Publicon® (2004)

This is documentation for an obsolete product.
Current products and services

Documentation  / Publicon  / User Guide  / Advanced Features  / Using Style Sheets  / Creating Your Own Style Sheet  /

Creating Your Own Style Sheet

Introduction

You can create your own style sheets instead of using the style sheets included with Publicon. To reduce the amount of work necessary in creating a style sheet, it is usually easier to take a current style sheet that is similar to what you want, copy it, and then edit the copy.

For example, if you want a style sheet like PubliconDefault.nb, but you want to use a different font for the text cells:

1. Make a copy of PubliconDefault.nb (located in the main Publicon directory, in AddOns/Autoload/Publicon/FrontEnd/StyleSheets), called MyStyles.nb.

2. Open MyStyles.nb and go to the cell that defines the style for Text. It is labeled "Prototype for style: Text". Click the cell bracket for that cell.

3. From the Format menu, use the Font submenu and choose the font that will be the new default font for Text cells.

4. Save the style sheet.

Now the style sheet MyStyles.nb uses a different font for text cells.

If you want to create a style sheet and simultaneously see how changes to the style sheet will affect a particular notebook, you should first import a private style sheet into the notebook (see Shared and Private Style Sheets). After you are finished editing the style sheet, make the style sheet the active window and then use File RightTriangle Save As to save the style sheet to a separate file. You can then reset the style sheet of the notebook to a shared style sheet.

You can set a personal style sheet to be the default style sheet. For more information, see Selecting the Default Style Sheet.