Reply To: GREP Styles problem

#88022

It didn’t work. It loses the ordinals in all places. But here’s what I did: I got rid of the nested style and did everything through GREP.

1. Apply style Ordinal to
(?<=\d)(st|nd|rd|th)

2. Apply style Small Caps to
^(\w|\.|,|’)* (\w|\.|,|’)+ (\w|\.|,|’)+ (\w|\.|,|’)+
There’s a trailing space there.

3. Apply style Drop Cap to
^\w

It was a bastard.

A clever GREP parser will see that I have decided to use four words instead of three.

Is there any tip on how to apply formatting in posts?

This article was last modified on September 1, 2016

Comments (0)

Loading comments...