Way to shade in gray every other paragraph

Get help using and writing Nisus Writer Pro macros.
Post Reply
NisusUser
Posts: 317
Joined: 2011-01-12 05:32:38

Way to shade in gray every other paragraph

Post by NisusUser »

Hi, everybody,

Is there a macro somewhere that would work on a selection such that every other paragraph would be shaded (at this point gray would be fine)?

It's a list in rather small print, and I need some way to keep my eyes on the correct line.

Thanks!
adryan
Posts: 561
Joined: 2014-02-08 12:57:03
Location: Australia

Re: Way to shade in gray every other paragraph

Post by adryan »

G'day, NisusUser et al

Here's one way of going about it. I've chosen a pale orange, just to illustrate the idea.

Code: Select all

Find All @Text<\n.+\n>, 'Esa-i'
Find All @Text<[^\n]>, 'Esa-i'

Format:Paragraph Shading Pattern:10% Blend
Format:Paragraph Shading Color:Orange
I’d name this as “Shade Alternate Paragraphs in Selection”.

Cheers,
Adrian
MacBook Pro (M1 Pro, 2021)
macOS Ventura
Nisus Writer user since 1996
NisusUser
Posts: 317
Joined: 2011-01-12 05:32:38

Re: Way to shade in gray every other paragraph

Post by NisusUser »

@adryan,

That macro works great! Thank you. Just what I was looking for!
Post Reply