Reply To: Apply bold style GREP only to the end of a line

Home Page / Forums / General InDesign Topics (CLOSED) / Apply bold style GREP only to the end of a line / Reply To: Apply bold style GREP only to the end of a line

#14334224

GREP is not necessary here.

Assuming the paragraph style applied is using the roman/book font, and you’re using a bold character style to apply the bold style to the SKU (via a Nested style as you said), then just add a couple more nested character styles to that “price” style.

Like this:
1. Bold up to 1 tab [what you’re doing already]
2. None up to $ [Enter that character in the right-most field]
3. Bold up to 1 soft return [choose Forced Line Break from the right-most dropdown]

You don’t need to have one for hard returns, because nested styles always end at the end of a paragraph. That is, if it can’t find a soft return, it’ll just apply to the remaining part of the paragraph until the hard return.

AM

This article was last modified on January 6, 2021

Comments (0)

Loading comments...