Highlight Word and Letter Spacing Overrides

The scripts highlights paragraphs with overridden word and/or letter spacing.

This script is part of the Type and Text collection. See the full collection here

In the Highlight section in InDesign’s composition preferences you can set InDesign to highlight some spacing matters: whether a line is looser or tighter than what is allowed by the settings in the Justification dialog, whether custom kerning has been applied to a pair of characters, and whether some text has been tracked.

What is missing, unfortunately, are options to highlight word and letter spacing. The script remedies that by highlighting paragraphs with deviating word spacing in lilac, letter spacing in green. When both word and letter spacing have been applied, both colours are shown. See the screenshot. Like InDesign’s highlights, the highlights set by the script show only in the Normal screen mode, not in Preview.

Use

The script has no interface, just run it. It compares the word and letter spacing of each paragraph with that of its applied paragraph style and highlights deviations in lilac (word spacing), green (letter spacing), or both. The colours are set in conditions which are applied to the paragraphs so that the formatting of the paragraphs is not affected in any way.

word and letter spacing screenshot

To remove the highlights, remove the conditions (Window > Type & Tables > Conditional Text).


Peter Kahrel Script Repository
Hosted as a community service, and with deep appreciation, by CreativePro.com


Scripts by Topic | Script Index
Basic Script Installation and Use
How to Modify or Configure These Scripts
Resources for Scripting and Publishing Automation
About This Repository


Repository Home Page


Contact Peter Kahrel


Note to users: You run scripts at your own risk: CreativePro and the author accept no liability for anything that may be caused by any of these scripts. Always take the necessary precautions. We encourage you to save backups and test scripts on copies of your documents.

Bookmark
Please login to bookmark Close

This article was last modified on August 22, 2026

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading comments...