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

Character style

New Here ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

I trying use find/change tool to help me apply character styles. So I trying search up keyword or phase but want to apply character style after certain keyword or phrase, not sure how to do this and not find any videos on it ether.

For example want highlight few words after "classified as" in blue

TOPICS
How to , Type

Views

247

Translate

Translate

Report

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 ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

After you type something in the Text Find What box, leave the Change To field empty, and go down to the Change Format and click in the middle of the big rectangle (or click the magnifying lens icon) and choose a Character Style. To start it, click Find Next, followed by Change or Change/Find.

Mike Witherell

Votes

Translate

Translate

Report

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 ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

For example want highlight few words after "classified as" in blue

 

This could potentially be done with a GREP style, but it depends on whether there is some common character or symbol that indicates the end of the blue text. 

Votes

Translate

Translate

Report

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 ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

LATEST

In my this example, the blue starts after classified as (upper or lower case), and continues until a period. 

For this GREP to work properly, there has to be a common character, or set of characters that always follows the text you want to be blue. You could also add a End Nested Style Here character, but that would be a lot of manual work. 

Screen Shot 2023-03-08 at 4.40.21 PM.png

The code here finds text that follows the words classified as, and continues until a period. As you can see, this will not work unless there is a period (or some other common character) at the end of the blue text in every instance.

Votes

Translate

Translate

Report

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 ,
Mar 08, 2023 Mar 08, 2023

Copy link to clipboard

Copied

If using the GREP tab, you could MATCH to the occurrence of certain words in order to get to the letters or words you are seeking to apply the Character Style formatting to.

Mike Witherell

Votes

Translate

Translate

Report

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