Now, To Review...
In the beginning I noted that this was a “nuts and bolts” sort of thing. By now, you, the reader, are probably feeling like you’ve been repairing a Diesel engine with a toothpick. But consider that we’ve created a unique paragraph style with the following character styles contained within:
- Event Headline, styling the headline of the entry
- Event Rating, styling the rating information uniquely
- Event Email Contact, which highlights the name and email contact of the outings leader.
In order to apply all this formatting with one deft motion, we’ve created a paragraph style (Event Listing), nesting those styles in thusly:
- Apply Event Headline from the beginning to the first forced line break;
- Apply Event Rating from that point over the 1st word only from there;
- Apply no special character styling from the end of that word through the first colon we come to;
- Apply Event Email Contact from there up to but not including the first digit we come to;
- Apply no special character styling from that digit out to the next colon;
- And, finally, apply the Event Email Contact style again to the actual email address, ending the paragraph.
All that styling will then be applied automatically whenever any paragraph is styled with the Event Listing paragraph style. No additional moves are necessary.
The true power in nested styles is that each style will be ruthlessly and consistently reapplied instantly with a single click every time one uses the paragraph style. On layout that involves complex formatting over large ranges of text, the savings in effort and time down the line as opposed to manually applying character styles (even with InDesign’s wonderful “Quick Apply” feature) should be obvious.
No tool is, of course, perfect; the most effective use of nested styles comes from a workflow which understands what its type requirements are at the basic level. But for those who look for formatting long standard lists of things, or even if what is wanted is a consistent approach to small things, nested style is InDesign’s secret power tool.
Go ahead, get your hands dirty. Dive in.
Suggestions For Further Study
Create a few sample paragraphs or clip some paragraphs from other InDesign files to give a sense of realism and go to town on them. Give them a basic paragraph format, build character formats then compile these into a new paragraph style containing nested styles.
More detailed information on the topics not covered in this how-to can be had quickly to hand in InDesign help, which has a good list defining the various range marker characters available
In particular, play with the many variations of terminating characters. Particularly note the “End Nested Style Character” item. This character, available from the Type>Insert Special Character menu, can be dropped in the paragraph wherever desired and can be used as a range-ending mark regardless of what else is going on in the paragraph.
Samuel! I didn’t realize you were one of the editors here! Small world…
I didn’t know InDesign could do this! Incredible! Ah, this is why I love the program. Thanks for the awesome tutorial.
I’m currently working on a huge legal document in Quark and there are so many things I miss about ID, but I’m finding a lot of nice functionality with Quark. I’ll have to figure out if I can do these things in InDesign also (like defining section starts and section numbering).
The two hardest parts about going between the programs: shortcuts and naming (like text wrap vs. runaround); it makes it difficult to search the Help and even online because the same function is called different things.
InDesign handles section starts and section numbering very nicely.
But nested styles are terrific. Than have saved us hours of work on various articles.
I always have a hard time explaining nested styles to Quark only users. But every single one of them who start using it, absolutely love it. In fact web designer, who never touched print design have an easier time understanding this. Now I just send them this link, makes my life easier.