Copy link to clipboard
Copied
Is there a way to write a GREP that would remove 'Space after' paragraph when a paragraph is followed by a particular style, in this case, when followed by my 'Bullets' style for bulleted lists. I would also want to apply this GREP to said bulleted style for the bulleted list when followed by level 2 and level 3 bullets style.
Now wondering if ChatGPT can write GREPs?...
Copy link to clipboard
Copied
What you ask for is already built into paragraph styles > Indents and Spacing, or do I misunderstand?
Copy link to clipboard
Copied
Sorry I should explained better. I have a body paragraph style on which I have set the desired space after amount. It is when I have a bulleted list following the body style that I dont want the space after.
Copy link to clipboard
Copied
@Simon3091632909t7 Please try the suggestions mentioned in this post and share the outcome.
Regards,
Vivek
Copy link to clipboard
Copied
I believe your scenario is like screenshot, the paragraph preceding the bullets could share the same style (body) as others. If so, I typically handle with 2 paragraph styles. Keep in mind, a GREP style can apply a character style, which does not control the space after attribute.