Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to automatically highlight every line of text

Enthusiast ,
Jan 20, 2023 Jan 20, 2023

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)

TOPICS
How to
283
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 20, 2023 Jan 20, 2023

You could use a table with alternate fills:

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

 

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

Capture d’écran 2023-01-20 à 19.03.41.pngCapture d’écran 2023-01-20 à 19.06.34.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 20, 2023 Jan 20, 2023

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

 

Screenshot 2023-01-20 at 10.13.34 AM.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 20, 2023 Jan 20, 2023
LATEST

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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines