New to Typophile? Accounts are free, and easy to set up.
Hello.
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.
| Attachment | Size |
|---|---|
| Screen shot 2011-09-27 at 6.00.29 PM.png | 35.43 KB |
27 Sep 2011 — 3:30pm
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
\sP\s
27 Sep 2011 — 3:26pm
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...
27 Sep 2011 — 4:08pm
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.