USING CHARACTER AND PARAGRAPH STYLES


Just as graphic styles store and apply to other objects appearance attributes of an object, character and paragraph styles store the formatting attributes of type, enabling the rapid and facile application and modification of all settings on the Character, Paragraph, and OpenType palettes. Any character formatting can be saved in character styles, and any character and paragraph attributes can be saved in paragraph styles.

Styles are saved to, used from, and managed on, the Paragraph Styles and Character Styles palettes (see Figure 19.18). Open these palettes from the Window, Type menu. By default, both palettes contain a single style, Normal, the default for all newly created type, though they can hold as many as needed.

Figure 19.18. The Paragraph Styles (left) and Character Styles (right) palettes.


Paragraph styles define formatting on a paragraph levelall text between the beginning of a paragraph and a hard return (created by pressing Enter or Return on the keyboard) receives the same styling from an applied paragraph style. Conversely, character styles apply to text on a character, word, sentence, or paragraph level. Whatever text is highlighted when a character style is chosen is styled with the attributes stored in the style.

The easiest way to create text styles is to first set up the type as desired. Create a text area or point type, style it with the Character, Paragraph, Open Type, Color, and Swatches palettes. Then highlight the styled text and click the New Style button at the bottom of either the Paragraph or Character Styles palettes (depending on the type of styling employed, paragraph level or character only).

Try this:

1.

Create a new area type object.

2.

Type your name and press Return or Enter.

3.

Type your address.

4.

With the Type tool, highlight your name and change its fill color (using the Swatches or Color palette) and its font family, font style, and size on the Character palette.

5.

On the Paragraph Styles palette, click the New Style button at the bottom. A new style entry, Paragraph Style 1, appears in the list above it.

6.

Click or Alt-click (Windows users) or Option-click (Mac users) once on Paragraph Style 1 to assign it to your name. Your type does not change, but it is now tied to that paragraph style and adopts any changes made to the style.

7.

Highlight your address and style it as well, but also indenting it 10 points from the left using the Paragraph palette's Left Indent measurement field.

8.

On the Paragraph Styles palette, click the New Style button at the bottom. Paragraph Style 2 is created.

9.

Click or Alt-click (Windows users) or Option-click (Mac users) once on Paragraph Style 2 to assign it to your address. Again, your type does not change, but it is now tied to that paragraph style and adopts any changes made to the style.

10.

Press Return or Enter and type your phone number. By default, the text you type inherits the paragraph style from the previous paragraphin this case, Paragraph Style 2.

11.

Highlight your phone number with the Type tool and click the Paragraph Style 1 on the Paragraph Styles palette. Your phone number should reformat to match your name.

Only the attributes actually set in the style affect text. If the type fill color is not specified in the style, for instance, the style can be applied to any color of type without changing the fill color. This is why attributes in the Style Options dialogs may be completely cleared out.

Character styles augment paragraph styles without causing overrides. For example, applying a character style whose only attribute is to change the fill color to red in a passage of text with a paragraph style will turn the selected text red, but will not cause an override plus sign to appear beside the paragraph style in the Paragraph Styles palette.

After completing the above exercise, try working with a character style:

1.

Using the name, address, and phone number type area, highlight your first name.

2.

Change the fill color to one chosen from the Swatches palette. On the Paragraph Styles palette a plus sign should appear next to Paragraph Style 1, indicating that something (the color) is different than what is stored within the style definition.

3.

On the Character Styles palette click the New Style button at the bottom. A new style, Character Style 1, appears in the list.

4.

Click or Alt-click (Windows users) or Option-click (Mac users) once on the style to apply it to your first name. The plus sign beside Paragraph Style 1 should disappear.

5.

With the Type tool, highlight the street name in your address.

6.

Click on Character Style 1 in the Character Styles palette to apply it. The street name should become the same color as your first nameagain, without triggering an override plus sign in the Paragraph Styles palette.

Apply styles by selecting text and then by clicking the desired style on the relevant palette. Styles may be applied to text selected by any of the following means:

  • Highlight with one of the Type tools (paragraph styles apply to whole paragraphs, regardless of whether the selection is only part of a paragraph).

  • Select the entire type objectarea type, point type, or type on a pathor multiple objects with the Selection, Direct Selection, or type tools.

  • Use the Select menu's Select or Same commands.

  • Click on the target circles on the Layers palette to select type objects.

  • Place the cursor inside the text without highlighting (applies paragraph styles only).

Perhaps the most powerful function of text styles is the fact that a change to the style instantly updates all text assigned to ita single modification can save quite a bit of time and effort. If, for example, your layout contains 10 blocks of type, and all need to change from using the Times New Roman font family at 9.5 points to Adobe Jenson Pro at 11 points, making the change once in the style updates all 10 instancesassuming, of course, that the text was all assigned to the same style. Styles may be updated by using the Style Options dialog box or by redefining the style in context.

To redefine in context, make the needed change to type on the artboard. With the changed text selected, click once on the style entry in the appropriate Styles palette and then choose Redefine Paragraph Style from the Paragraph Styles palette menu or Redefine Character Style from the Character Styles palette menu (whichever is applicable).

Try this:

1.

With the Selection tool, select the type area created and styled in the previous exercises.

2.

Choose Edit, Copy.

3.

Choose Edit, Paste. A new copy of the type appears in the center of the view. Move it with the Selection tool so that it is next to the first text area.

4.

Highlight some or all of the text in the new text area and change its font family on the Character palette.

5.

At the same time, increase the text size to, say, 20 points.

6.

With the Type tool, highlight your last name.

7.

On the Paragraph Styles palette click once on Paragraph Style 1, which should already be active and include a plus sign indicating the use of overrides.

8.

From the Paragraph Styles menu choose Redefine Paragraph Style. The text in the first type area should update to match the changes made in the second and now saved in the paragraph style.

In the Paragraph Style Options are collected all the type and paragraph styling attributes from the Character, Paragraph, OpenType, Color, and other palettes and menus. Such a unified interface often makes multiple style changes more convenient than doing them in context and redefining.

Access the Paragraph Style Options dialog from the Paragraph Styles menu or by double-clicking a style in the palette; access the Character Style Options dialog the same ways on the Character Styles palette.

The General panel of the Paragraph Style Options dialog shows a summary of all attributes set on subsequent panels. Add, change, or clear any attribute to include it in the style. For example, on the Basic Character Formats tab (see Figure 19.19), set the same options that appear on the Character palette (additional Character palette options appear in the Paragraph Style Options dialog under Advanced Character Formats).

Figure 19.19. The Basic Character Formats panel in the Paragraph Style Options dialog.


On this or any panel in either the Paragraph Style Options dialog or Character Style Options dialog, any value may be set, changed, or cleared. Use the various pop-up menus, measurement fields, check boxes, and radio buttons to set or change options. To clear pop-up menus and measurement fields so that those attributes are no longer part of the style, highlight their content and press the Delete key on the keyboard. To clear check boxes, click the boxes until they are either empty (when the style is applied, the attribute is cleared from the text) or filled with a gray rectangle (in Windows) or a minus sign (on the Mac), which ignores the presence of the attribute in styled textif styled text includes the attribute, it is neither applied nor removed.

The fastest way to clear all options in a panel is to click the Reset Panel button.


The Character Style Options dialog, because it defines only character-level formatting and not paragraph-level formatting, includes fewer but nearly identical panels to the Paragraph Style Options dialog (see Figure 19.20).

Figure 19.20. The Basic Character Formats panel in the Character Style Options dialog.


A plus sign beside the style name in either Styles palette indicates that the selected or active text contains an override to the style. Overrides are any applied formatting attributes not specifically contained within the style or defined differently between the style and the selected text. For example, assigning the Normal Paragraph Style to a paragraph of text and then making a single word bold registers the bold font style as an override when that word is selected.

When overrides are present, the following options are available:

  • Create a new style to account for the differences between the overridden attributes and the original style. Many Illustrator users create character styles for bold, italic, and other font styles. Such styles leave Font Family and all other fields blank, setting only the Font Style, thus enabling bold or italic to be applied to any font that has a bold or italic font style. Because paragraph styles overridden by character styles are not really overrides, styling a single word or a few words in a paragraph with a bold character style does not register an override in either Styles palette.

  • Manually clear the overridden attribute.

  • Force the reapplication of the style, eliminating any overrides, by Alt-clicking (Windows users) or Option-clicking (Mac users) the style with the override text selected.

  • Redefine the style to incorporate the overrides into the style itself, updating all other text assigned to the style to match. With the override text selected, click once on the style entry in the relevant Styles palette and then choose Redefine Paragraph Style from the Paragraph Styles palette menu or Redefine Character Style from the Character Styles palette menu (whichever is applicable).

Highlighting or placing the cursor within text to which a text style is already assigned highlights that style in the Paragraph or Character Styles palettes.

Change style names by double-clicking the style in the Paragraph or Character Styles palette and typing a new name at the top of the Options dialog. A good practice is to name styles based on their usage; even if Paragraph Style 1 and Character Style 9 make perfect sense now, will they still make sense in 6 months if the document needs to be edited again or used as the basis for a new design?

By default, all new text is created with the document default Normal Paragraph Style and Normal Character StyleMyriad (font family) Roman (font style) 12 pts (size) on auto (120%) leading and filled with 100% black and a stroke of none (all other settings are 100% or 0 pts).

To change the default text styles for new documents, begin a new blank RGB document. Double-click each of the Normal styles on their respective palettes. Make the necessary changes, and save the blank document as Adobe Illustrator Startup_RGB.ai to the folder C:\Program Files\Adobe\Adobe Illustrator CS2\Plug-ins (in Windows) or Applications/Adobe Illustrator CS2/Plug-ins (on the Mac). Replace the existing file. Do the same with a new CMYK document, and save it as Adobe Illustrator Startup_CMYK.ai to the same location.




Special Edition Using Adobe Creative Suite 2
Special Edition Using Adobe Creative Suite 2
ISBN: 0789733676
EAN: 2147483647
Year: 2005
Pages: 426
Authors: Michael Smick

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net