A style sheet is a set of paragraph or character formatting specifications. Whatever text is selected when you click a style sheet on the Style Sheets palette (or execute its equivalent shortcut) is formatted instantly. But style sheets aren’t used just for the initial formatting; they’re also used for updating formatting. If you modify a style sheet, all the text with which it is associated will update instantly. Each project can contain up to 1,000 style sheets, and they are available to all layouts within the project.
Using style sheets will relieve you from zillions of hours of tedious styling and restyling, freeing you to concentrate on more exciting tasks. And here’s another benefit: When you use style sheets, you can rest assured that your typography is consistent, whether you’re working on a small brochure or a huge, multifile book. Every single character in this book was styled via a style sheet. Enough said?
Every new paragraph style sheet automatically has a default character style sheet associated with it that defines its character attributes. You can also create independent character style sheets . If you’re unsure of the difference between paragraph and character style sheets, see “What’s the difference?” on the next page and study the illustrations on page 238.
or
For a character style sheet, select and style a word or a string of words.
or
Control-click/Right-click the paragraph (or character) style sheet area of the Style Sheets palette and choose New from the context menu .
or
To apply a character style sheet, select the text you want to reformat.
or
Click a character style sheet in the bottom portion of the Style Sheets palette. The selected text will reformat instantly.
or
Press the keyboard equivalent for the style sheet you want to apply, if one was assigned to it. The equivalents are listed on the Style Sheets palette.
or
Choose a style sheet from Style > Paragraph Style Sheet or Style > Character Style Sheet.
or
Control-click/Right-click the text in your layout; when the context menu appears, choose a style sheet from the Paragraph Style Sheet or Character Style Sheet submenu .
Local formatting is fomatting applied independently of a style sheet. If you insert the cursor in or select locally styled text, a plus sign will appear on the Style Sheets palette next to the name of the style sheet that’s associated with that paragraph.
You’ll also see a plus sign next to a paragraph style sheet name if the text your cursor is in has both a paragraph style sheet and a character style sheet applied to it.
A fast way to create a variation on an existing style sheet is to duplicate it, and then edit the duplicate. Unlike a Based On style sheet (which is described on page 240), there is no linkage between a duplicate style sheet and the original from which it’s generated.
or
Choose Edit > Style Sheets (Shift-F11), click a style sheet, then click Duplicate .
Remember, style sheets are available to all the layouts in a project.
There’s nothing to stop you from creating a new style sheet from scratch without clicking in a sample paragraph—it just takes longer.
or
Choose Edit > Style Sheets (Shift-F11), click the style sheet you want to edit, then click Edit . To narrow (or expand) the number of style sheets on the list, choose a category from the Show menu.
or
Control-click/Right-click a paragraph style sheet on the Style Sheets palette and choose Edit [style sheet name] to go directly to the General pane of the Edit Style Sheet dialog box. Or do the same for a character style sheet to go directly to the Edit Character Style Sheet dialog box .
or
For a character style sheet, modify character attributes in the Edit Character Style Sheet dialog box (, next page).
If the currently selected text has more than one style sheet applied to it, the or symbol next to those style sheets will be dimmed ().
A default character style sheet is automatically embedded into every paragraph style sheet. In fact, a paragraph style sheet’s character attributes are derived from a character style sheet. You can change the individual character attributes of the default character style sheet for its associated paragraph style sheet (choose a different font or point size, for example).
If you want to change multiple character attributes for a paragraph style sheet all at once, you can embed a different or new character style sheet into it. The same character style sheet can be embedded into multiple paragraph style sheets.
This means, however, that if you change the specifications for a character style sheet, the character attributes for any paragraph style sheets into which it is embedded will update accordingly. And similarly, if you edit the character attributes in a paragraph style sheet, the character style sheet that’s embedded into it will also update accordingly. If this seems like too much to keep track of, ignore this page and leave Default as the choice on the Character Style menu!
or
Choose New , type a name for a new character style sheet, choose character attributes, then click OK.
When one style sheet is based on another style sheet, the two remain associated. The Formats, Tabs, Rules, and Character Style options from one style sheet (which we’ll call the “child”) are derived from a second style sheet (the “parent”). If the parent style sheet is modified, any child style sheets that are based on it will also change—with the exception of any specifications that are unique to the child style sheet. This is different from duplicating or embedding, which we discussed earlier.
If you’d like to try this option, choose a style sheet in Edit > Style Sheets, click Edit, then in the Edit [Paragraph or Character] Style Sheet dialog box, choose a parent style sheet from the Based On menu. For example, you could create a style sheet called Drop Cap that’s based on a Body Text style sheet, and then, in the Drop Cap style sheet, turn on the automatic Drop Cap option in the Formats pane . If you then change the Body Text style sheet (change the font, size, etc.), those changes will also occur in the Drop Cap style sheet.
To apply a style sheet to text using Edit > Find/Change (Cmd-F/Ctrl-F), uncheck Ignore Attributes on the Find/Change palette, enter a text string and/or choose character attributes on the Find What side of the palette, choose from the Style Sheet menu on the Change To side of the palette, then click the appropriate buttons at the bottom of the palette (see pages 298–302).
To use Find/Change to replace one style sheet with another on a case-by-case basis, choose both a Find What style sheet and a Change To style sheet. (If you were to delete and replace a style sheet in the Style Sheets dialog box instead, all occurrences of the style sheet would change.)
The Normal paragraph and character style sheets are the default style sheets for all newly created text boxes. If the Normal style sheet is modified with a project open, text with which the Normal style sheet is associated will update just in that project.
If the Normal paragraph or character style sheet is modified when no projects are open, the modified style sheet will become the default for future projects. Similarly, any new style sheet that’s created when no projects are open will appear automatically on the Style Sheets palette of future projects.
To append style sheets from one project to another, follow the instructions on pages 49–50. Or to append a style sheet the quick-and-dirty way, drag or copy and paste a text box that contains text to which the desired style sheet has been applied from a library or from another project into the current project—the applied style sheet will copy along with the item (as long as its name doesn’t match a style sheet already present in the target project. We did say quick and dirty, didn’t we?).
The report produced by the Collect for Output command (File menu) includes a list of style sheets in your document. Also, a number of XTensions are available that will generate printed reports of the style sheet specifications used in a project , as well as other data such as fonts, colors, H&Js, print styles, preferences, and picture files. Take a look at OfficialReport XT or Printools XT from Badia Software, or BureauManager from CompuSense Ltd.
If you delete a style sheet that’s currently being used in your project, a dialog box opens automatically that you can use to choose a replacement style sheet. If you don’t choose a replacement style sheet, the No Style (no style sheet) option will be applied by default. When you apply No Style, the text formatting will not change.
If the style sheet is currently being used in your project, a prompt will appear. From the “Replace with” menu, choose a replacement style sheet or choose No Style, then click OK .
Note: If you choose a replacement style sheet, any local formatting in the text will be preserved. If you choose No Style and then apply a new style sheet, on the other hand, all local formatting will be removed.
You can undo the deletion of a style sheet.
The Normal style sheets can be edited, but they can’t be deleted.
The method described above is the fastest one for deleting one, or even a few, style sheets. If you have to delete a whole slew of them, though, a faster method is to choose Edit > Style Sheets (Shift-F11), Cmd-click/Ctrl-click (or Shift-drag through) the style sheets you want to delete, then click Delete. Respond to any prompts that appear (as in step 2, above), then click Save.
or
Click a style sheet, then Shift-click the last style sheet in a series.
This strategy is helpful for cleaning up a project that is littered with many unused style sheets. Ideally, the Style Sheets palette lists only those style sheets actually required for that project.
You can’t compare style sheets from different projects using this method. You could append style sheets from one file to another, though, and then compare them once they’re both in the same file.