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

Slightly Newbee here - Question on Style

Explorer ,
Mar 10, 2024 Mar 10, 2024

Copy link to clipboard

Copied

Hi friends!

Have been away from ID for a very long time and am trying to make a comeback!!

 

I have a paragraph formatted with a paragraph style - "MyPStyle". In that paragraph, there are strings of text all between a period and a colon, i.e .HelloWorld:

I want to apply a character style to the entire string (including the period and colon). How could I do this automatically for the entire paragraph? Grep? (What do I write for the above example?)

Thank you and have a good day!

Susan Flamingo

TOPICS
How to , Type

Views

134

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

correct answers 1 Correct answer

Community Expert , Mar 10, 2024 Mar 10, 2024

Create a Paragraph Style - this is for the entire paragraph

Then create the Character Style

 

Inside the Paragraph Style - go to the Nested Styles

And then insert

None> up to> and insert the character :

Character Style>Bold> up to > . 

 

https://helpx.adobe.com/ie/indesign/using/drop-caps-nested-styles.html

 

In your example

EugeneTyson_0-1710071112995.png

 

If there's a 2nd instance - you can choose a repeat function

EugeneTyson_1-1710071132527.png

 

 

 

Votes

Translate

Translate
Explorer ,
Mar 10, 2024 Mar 10, 2024

Copy link to clipboard

Copied

I did not word the question exactly:

correction:

The text string i want to format with my charstyle is between a colon and a space on one side (before the string) and a period at the end. Like this ": Hello World."

Sorry for the mistake

 

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 10, 2024 Mar 10, 2024

Copy link to clipboard

Copied

You need no character style here. You need 2 paragraph styles and a return and define the second paragraph style as next paragraph in the first style. So you can select both paragraphs and with right click on the style entry appy style and next style. You can define in an object style also a paragraph style and next style for fast apply. 

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
Explorer ,
Mar 10, 2024 Mar 10, 2024

Copy link to clipboard

Copied

Thank you for your attention!

But the text strings i want to format are inside the greater paragraph:

----->

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus: lectus malesuada. libero, sit amet commodo magna eros quis urna.

<-----

So don't understand how what you wrote would work?

 

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 10, 2024 Mar 10, 2024

Copy link to clipboard

Copied

Create a Paragraph Style - this is for the entire paragraph

Then create the Character Style

 

Inside the Paragraph Style - go to the Nested Styles

And then insert

None> up to> and insert the character :

Character Style>Bold> up to > . 

 

https://helpx.adobe.com/ie/indesign/using/drop-caps-nested-styles.html

 

In your example

EugeneTyson_0-1710071112995.png

 

If there's a 2nd instance - you can choose a repeat function

EugeneTyson_1-1710071132527.png

 

 

 

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
Explorer ,
Mar 10, 2024 Mar 10, 2024

Copy link to clipboard

Copied

Looks like its workin' good. thank you*10000

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 10, 2024 Mar 10, 2024

Copy link to clipboard

Copied

If you want to include the period, you need to make the style applie THROUGH, not up to...

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 10, 2024 Mar 10, 2024

Copy link to clipboard

Copied

LATEST

Ah you're right, of course.

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