Ask Your Question

Find lines with excessive word spacing in justified paragraphs

asked 2017-10-07 22:52:38 +0200

JesperWe gravatar image

updated 2017-10-07 23:21:52 +0200

I have a rather large text only document using justified text (yes, a book :-) ) that I have had to change the font and margins in several times. Each time I do this line breaks change all over the place, and I have to manually read through the entire document to check if there are any too long words in the beginning of a line (causing the line before to have the words stretched too far apart). I cannot use auto hyphenation in my language, the quality is too low. All hyphenation has to be done manually.

My question is: Is there any way (maybe using a macro?) to find all places where the word spacing is stretched over a certain limit (like 20 points for example) ?

Illustration: I want to detect the line with a red marker underneath in the example below.

image description

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-10-09 11:47:21 +0200

updated 2017-10-10 07:30:07 +0200

Yes. it is possible. you need to create a style from spacing section and try to find that style in the document from the find and replace dialog.

Here are the steps:

edit flag offensive delete link more


The lines I want to find are part of normal paragraphs which are the same style as all the other paragraphs. The excess spacing is not connected to a specific style. It is just caused by the first word of the next line ("pelletesqueauctor") being very long.

JesperWe gravatar imageJesperWe ( 2017-10-11 08:51:22 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-10-07 22:52:38 +0200

Seen: 367 times

Last updated: Oct 10 '17