Skip to main content
DigitalChickster
Inspiring
August 22, 2022
Answered

Looking for a way to add stroke behind text on alternating lines

  • August 22, 2022
  • 2 replies
  • 725 views

Hi all! I'm adding comments to a report. I have two columns per page. And I want every other comment to have a light blue stroke behind it (so it looks highlighted). I have assigned styles to the text, so I can click on every other line to add or remove the stroke on every other line. But it's tedius. I am thinking there's a way to have alternating highlighting. But I can't figure out how to do it. Some comments are two lines and some are one, so the height of each "highlight" can vary. 

I'm attaching a screenshot as an example. 

Thank you for any advice you can give me. 

This topic has been closed for replies.
Correct answer Peter Spier

Seems like this might be done with Paragraph Shading. Make two paragraph styles, one with shading and one without, and set the each as the next style for the other.

2 replies

Barb Binder
Community Expert
Community Expert
August 22, 2022

Or convert the text to a table and create a table style that shades every other row.

 

~Barb

 

~Barb at Rocky Mountain Training
DigitalChickster
Inspiring
August 23, 2022

I could do a table, but now I'm intrigued by Peter's response. How would I set each style as the next style for the other? I haven't heard of that. Thanks! 

Peter Spier
Community Expert
Community Expert
August 23, 2022

I found a tutorial on "Next Style" and it works great! Thank you so much! 


Personally, I avoid tables whenever possible. Too many hassles and you can't break mid-cell.

Peter Spier
Community Expert
Peter SpierCommunity ExpertCorrect answer
Community Expert
August 22, 2022

Seems like this might be done with Paragraph Shading. Make two paragraph styles, one with shading and one without, and set the each as the next style for the other.