Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

GREP-Styles | Distinguish between uppercase and lowercase

Community Beginner ,
Aug 22, 2022 Aug 22, 2022

Is there a way to have a GREP-style only apply to lowercase letters?

 

I first made a charachter style that specified the OpenType set that should be used, than I made a GREP that defines which letters it should apply to. But what I later realised is that it also applies to capital letters. Is there a way to have this only applied to the lowercase letters?

 

Hope my question is clear, help would be greatly appreciated! 

TOPICS
How to , Type
1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 22, 2022 Aug 22, 2022

\l (that's backslash + lower-case L) matches lower case.

Translate
Community Expert ,
Aug 22, 2022 Aug 22, 2022

\l (that's backslash + lower-case L) matches lower case.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 22, 2022 Aug 22, 2022

That worked perfectly. First I added it to each individual letter (a, e & t), which didn't work properly. Than I tried adding it at the end of the sequence of the letters which worked perfect. Thank you! 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 24, 2022 Aug 24, 2022
LATEST

Come to find out it didn't work as perfect as I first thought. This is how I defined it: a|e|t\l 

This way it works for the 'a' and the 'e'. Just not for the 't'. What am I doing wrong? I'm guessing I should seperate the letters from \l somehow. But since I'm new to GREP-styles I've no clue how.
Hope you can help. Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 22, 2022 Aug 22, 2022

Peter is right on target with his advice. Just to add to his recommendation, you can also find this by clicking on the @ symbol in the GREP dialog or GREP Styles dialog and choose Wildcards > Any Lowercase Character.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines