Skip to main content
DigitalChickster
Inspiring
January 20, 2023
Question

How to automatically highlight every line of text

  • January 20, 2023
  • 2 replies
  • 329 views

Hi all! I'm building reports where we have a lot of consumer comments. They are listed at the end of the report. I want to highlight every other comments to make it easier to read. I have been doing this line by line... adding a paragraph style to each line... one with the text highlighted and one without. But my newest report has over 1000 comments... and this is tedius. How can I make this process automated... can I? I think I've seen this can be done, but I am apparently not using the correct search words, because I am not finding how to do it online. Thank you! 

(attached is a rough example of what I mean... but in real comments, some are many lines long, not just one)

This topic has been closed for replies.

2 replies

Legend
January 20, 2023

If each comment contains only one paragraph, you could set up your two styles as Next Style to each other. Then select all the text and choose Apply [stylename] then Next Style. This will cycle the styles down through all of the text.

 

jmlevy
Community Expert
Community Expert
January 20, 2023

You could use a table with alternate fills:

https://helpx.adobe.com/indesign/using/table-strokes-fills.html#:~:text=Alternate%20strokes%20and%20fills%20in%20a%20table

 

If you don't use a table, make 2 different paragraph styles, one with a rule, another without and use the “next style feature”

Steve Werner
Community Expert
Community Expert
January 20, 2023

Here's an example of how alternative row colors could look in a table: