InDesign - Nested Style Question

jidoe's picture


I'm trying to create a nested style, which would go something like this:

Title P (2pm)
Title Two P (2pm)

I want to apply a character style to the single character (P).

I tried to do this by running no style up to 1 P, then applying the character style through 1 character. It actually worked, except when there was a "P" in the title. *See attached image.

Any tips on how I could target only the single character "P" and not "P's" that show up in title names??

Thanks, J.

Screen shot 2011-09-27 at 6.00.29 PM.png35.43 KB
agostini's picture

Hi J
I would suggest to use GREP rather than nested styles.
In Cs5 you will find it in the paragraph styles - GREP.

This will give you the possibility to change the letter "P"
to a different character style. Im just trying to get you
the GREP code as well.

Edit: here a code which seems to work


jidoe's picture

Oh yes, being able to change the P to another character would be very nice.

I still haven't wrapped my head around GREP styles, I ought to figure it out...

jidoe's picture

Hey Agostini,

Thanks man! Works like a charm. :)

I now know more about GREP styles than ever before! Very useful, I will definitely have to explore the possibilities.

Syndicate content Syndicate content