You can specify character-level formatting for one or more ranges of text within a paragraph. You can also set up two or more nested styles to work together, one taking over where the previous one ends. For paragraphs with repetitive and predictable formatting, you can even loop back to the first style in the sequence.
Nested styles are especially useful for run-in headings. For example, you can apply one character style to the first letter in a paragraph and another character style that takes effect through the first colon (:). For each nested style, you can define a character that ends the style, such as a tab character or the end of a word.
To add nested styles to a paragraph style, double-click the paragraph style, and then click Drop Caps and Nested Styles.
To add nested styles to a single paragraph, choose Drop Caps and Nested Styles from the Paragraph or Control panel menu.
Click the character style area, and then select a character style to determine the appearance of that section of the paragraph.
Specify the item that ends the character style formatting. You can also type the character, such as a colon (:) or a specific letter or number. You cannot type a word.
Specify how many instances of the selected item (such as characters, words, or sentences) are required.
Choose Through or Up To. Choosing Through includes the character that ends the nested style, while choosing Up To formats only those characters that precede this character.
Select a style and click the up button or
down button
to
change the order of the styles in the list. The order of the styles
determines the order in which the formatting is applied. The formatting
defined by the second style begins where the formatting of the first
style concludes. If you apply a character style to the drop cap,
the drop-cap character style acts as the first nested style.
You can repeat a series of two or more nested styles throughout a paragraph. A simple example would be to alternate red and green words in a paragraph. The repeating pattern remains intact even if you add or remove words in the paragraph.
To determine how a nested character style ends, select any of the following: