Skip to main content
Inspiring
January 29, 2026
Question

Problem when applying small caps to CE and AH

  • January 29, 2026
  • 4 replies
  • 0 views

I am applying a grep style small caps using the following grep code:

 

‭\<‬AH‭\>|\<‬CE‭\>

in some places it successfully works and in other places it only applies the small caps to the first letter. See image.

 

I’m not sure why it does this.

 

    4 replies

    FRIdNGE
    Inspiring
    January 29, 2026

    Thanks to remove your “moderation” on my posts!

    \<AH\>|\<CE\>

    or

    \<(AH|CE)\>

     

    (^/)  The Jedi

    FRIdNGE
    Inspiring
    January 29, 2026

    \<(AH|CE)\>

     

    (^/)  The Jedi

    Peter Spier
    Community Expert
    Community Expert
    January 29, 2026

    You might also try using \b in place of \<  and \>

    Mike Witherell
    Community Expert
    Community Expert
    January 29, 2026

    Did you try applying OpenType All Small Caps ?

    This GREP Style worked for me:

    (?<=\s)(AH|CE)(?=\))

    Mike Witherell