Styles give you a powerful mechanism for imposing visual consistency on your documents: when you format your document’s paragraphs, headings, sidebars, charts, diagrams, and illustrations with styles, you ensure that each one of them resembles the others—and you save a lot of time that you’d otherwise spend fiddling with format settings!
Back in Choose a Style, I explained how to apply a style to text or objects in a document and introduced you to the four powerful style types in Pages. This chapter goes beyond the basics for the three style types that affect the visual appearance of documents: paragraph styles, character styles, and object styles. (The fourth style type, list styles, imposes organizational consistency within documents; see Organize Your Work, next chapter, for details about them.)
This chapter focuses on Pages for Mac, because only Pages for Mac has style handling chops: neither Pages for iOS nor Pages for iCloud can do much more with styles than apply them to text and objects.
With Pages for Mac, you can Create Styles, Handle Style Overrides, Organize Styles in the Format inspectors, and Copy and Paste Styles to share styles between documents.
Read on to become a master Pages stylist—no dye or blow-dryers needed.
Creating a style does not take much effort: configure the format settings the way you want them, click an Add button, and then give the new style a name. The trick is knowing which format settings can be included within which kinds of styles.
Paragraph styles in Pages include the widest variety of format settings: some settings from every panel of the Text Format inspector are in any paragraph style you create. (To see the Text Format inspector, select some text or set an insertion point in your document; if the Inspector itself is still not visible, choose View > Inspector > Format.)
Here are the settings that a paragraph style includes, arranged by the panels in the Text Format inspector:
To create a new paragraph style, start by showing the Style panel of the Text Format inspector, and then follow these steps:
Figure 76: Click the style name (in this case “Body”) to reveal the Paragraph Styles popover.
A new style appears with its name selected directly beneath the currently selected style. The proposed name of the new style is the same as the current style’s name with a 1 following it. If the current style’s name already ends with a number, the number following the new style’s name is the next number; that is, if the current style is named “LUE 41” the new style name is “LUE 42” (Figure 77).
Figure 77: Renaming a style is much easier than finding the answer to Life, the Universe, and Everything.
The new paragraph style is now available for you to use.
Character styles, available from the Character Styles pop-up menu (which you can find in the Font section of the Style panel of the Text Format inspector), contain a smaller number of format settings than do paragraph styles. Character styles contain any of the settings in the Font section that override the current paragraph style’s character settings (see Handle Style Overrides), as well as the Remove Ligatures setting on the More panel if you change it.
Here’s an example of how overrides work when you create character styles. Suppose the current paragraph style specifies the Times font at 14 points, and you make the size of the font in a text selection 18 points. When you create a new character style (let’s call it “Embiggen”) from that text selection, the 18-point size setting becomes part of the new character style because it overrides the default font size for the paragraph; the Times font, though, is not part of the character style definition because you haven’t overridden the font. Later, when you select text in another paragraph in which the paragraph style specifies, say, the Athelas font, and you apply your Embiggen character style, the size changes to 18 points but the Athelas font is not changed to Times.
To create a new character style, show the Style panel of the Format Text inspector and then follow these steps:
Figure 78: Click the Character Styles menu button to see the Character Styles popover.
The settings that can make up an object’s style depend on the type of object involved, and there are lots of different kinds (see Change How Basic Objects Look).
Here are some of the things that can be included in an object style for the different kinds of objects, arranged from least to most complicated:
I count 24 different chart types on the three panels of the Insert Charts popover (Figure 79), not to mention the many pages of chart style variations available in each panel.
Figure 79: Panels and pages of charts, oh my!
Because Pages offers a staggering number of combinations of charts and chart formats, I suggest that you not bother trying to memorize them; instead, customize the appearance of a chart object to your liking, create a new chart style from that chart object, and then see what happens when you apply that style to a new chart object of the same chart type. Generally speaking, format settings that apply to appearance (colors, borders, grid lines, text formats, and the like) become part of a chart object’s style.
Creating an object style for any kind of object that supports them (sorry, table objects!) is a straightforward operation:
Figure 80: This page in the Shape Styles chooser has a slot waiting for a new style to be added.
A thumbnail displaying the color and border settings of the currently selected object appears in the style chooser: this thumbnail represents the style you have created.
You can now apply the new style to other objects of the same kind.
Style overrides can occur whenever you format text or an object that has a style associated with it. And since just about everything in a Pages document has a style associated with it, style overrides are inevitable.
When it comes to paragraph and character styles, Pages lets you know about overrides: for overridden paragraph styles, an asterisk * appears following the current paragraph style’s name in the Text Format inspector (Figure 81) and an Update button appears; for overridden character styles, the label on the Character Styles menu button sports an asterisk. Pages, sadly, doesn’t indicate if a selected object’s formatting overrides the object’s assigned style.
Figure 81: Something about the currently selected paragraph overrides its assigned style, indicated by the * and the Update button.
You already know one thing you can do with a style that has been overridden: use it as the basis for a new style, as described just above in Create Styles.
What else can you do when selected text or a selected object diverges from its assigned style? You can either ignore it (the most common case), or you can:
Sometimes, a paragraph style name shows an asterisk * indicating an override but does not show an Update button in the Text Format inspector. This happens when you click within a section of text formatted with a character style: an Update button doesn’t appear because character style overrides don’t affect the entire paragraph. In most cases, you can ignore the asterisk, since the character style override to the paragraph style is what you want.
However, you can update the paragraph style so that the format settings in the character style become part of the paragraph style and affect the entire paragraph (and other paragraphs that use the style):
When a document has only a handful of styles, organizing them to make them easier to find and apply may not seem like a high priority, but it’s easy for their numbers to rise quickly when you develop complex, richly formatted documents. Fortunately, you can arrange the order of all three style types in their respective lists, delete styles that you don’t need, and, for character and paragraph styles, rename them (object styles are nameless). You can also assign keyboard shortcuts to paragraph and character styles—this can be an ideal way to apply frequently used styles quickly.
Organizational changes that you make to a document’s styles in Pages for Mac carry over to Pages for iOS and Pages for iCloud.
Here’s how to make your styles easier to find and apply:
Figure 82: Changing the order of styles is a drag; here, Body is being dragged to the top of the Paragraph Styles list.
Figure 83: You must choose a replacement style for a paragraph or character style when you try to delete one that is in use.
Need to style parts of a document quickly when the Format inspector is hidden or when you don’t want to bother making a trip to the Inspector’s style popovers? You’re in luck: in addition to the style keyboard shortcuts described in Organize Styles, just above, you can copy and paste paragraph styles and character styles.
However, because you use the same commands for copying and pasting both paragraph styles and character styles, you have to be careful about what you select and when.
To copy and paste a paragraph style within a document, set an insertion point only, as follows:
To copy and paste a character style within a document, set an insertion point and then make a text selection, like so:
You can copy and paste styles not only within a document but also between documents. The latter capability is especially important for style management, since a feature that was lost in the transition from Pages 4 to Pages 5 was the extremely useful Format > Import Styles command with which you could import styles from one document into another.
Until such time as Pages 5 acquires a similar command (something that Apple has not yet explicitly promised), you can use style copying as a workable, if less convenient, substitute:
The style has now been successfully copied into the document.