The next two columns work together to define the end of the range over which the nested style will apply. The number, which clicked on, becomes an input box in which any other number can be typed. We type a “1” here. Clicking on the next column (which contains “Words” at this point) we get an input box/drop-down combination. We could type a character (or characters) to define the end but what we’ve done here is to choose “Forced Line Break” from the dropdown.
The first nested style, completely defined: from the beginning of the paragraph, apply the Event Headline style up to and including the first forced line break.
After this, the first nested style is defined: In this paragraph, apply the Event Headline style from the beginning (because that’s where nested styles begin applying) through the first Forced Line Break character.
Using the same process, we define the next character string as Event Rating by specifying in “through 1 Words”; it will apply to the next word (as defined by the next space-nested styles don’t attempt to make sense of the actual word) only.
The rest of the paragraph up to the leader’s name will have no styling, and we specify this so that we can tag those styles on after. We do this by specifying the next nested style as “[None]”, “through” and “1”, and instead of picking a specific character from the drop-down, type a colon in the input box.
Nested Styles with the first three specified. After the Event Headline, Event Rating covers the next text string up to the next space (through 1 Words) and there is no special styling applied to the paragraph until the next thime a colon comes up ([None] through 1 :)
Styling the name and email address is just a little more complex, but not much. We’ll be using the Event Email Contact style for both name and email We could style the name as “through 2 words”, but not everyone uses two-word names (Just ask Prince [is that what he’s calling himself these days?]). The choices in the drop-down allow many ways to specify this; in this case we choose “up to 1 Digits”, which will apply up to but not including the phone number (which we can depend on because we’ve standardized the phone to come always after the name). Whatever text that happens between the first colon and the first digit of the phone number will now be boldfaced and italic. To finish out the sequence (at long last) specify [None] as the style “through 1 :”, which brings us to the email address, then specify “Event Email Contact through 1 Words” to bring the email address on board (remember, words are defined by spaces).
Last three nested styles defined. These take up where the last of the first three in the previous illustration left off.
With that last style, we’ve come to the end of the paragraph. We’ve had to go to the end of the paragraph because we’ve had two bits at the end to style, but if our needs were less demanding, say, if we only wanted to style the headline and event rating, we could have just left it off at two.
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.