Skip to main content
Participant
July 10, 2025
Answered

Avoid hyphenation at the end of a line.

  • July 10, 2025
  • 3 replies
  • 297 views

Avoid hyphenation at the end of a line. And I tried disabling the no hyphenation option, but it doesn't look nice. Can you help me please?

Correct answer Brad @ Roaring Mouse

If you are doing Justfied text, and you have a narrow column, you are limited to how good you CAN make it look.

What I expect you are seeing is large word spacings you don't like. You can minimize this by chnaging your Justification Settings to add space between letters to balance them out. Your default is probably something like this:

 Here, there is no spacing between letters added (Max: 0)

Increase this to, say 10% or even 20%. You can even play with the word space. 

I've changed this to (in the middle column) Word Spacing Max 133% with Letter Space Max 20%;

and the right column is Word Spacing Max 150% with Letter Spacing Max 10%

Play with the settings until you get a result that's pleasing to you.

 

3 replies

Fred.L
Inspiring
July 10, 2025

I'm using the same strategy as @Eugene Tyson 
Just with a simpler version of the NoBreak though.
It's apparently called "runts"
https://luminousworks.com/runts.html

.{10}$


 

Community Expert
July 10, 2025

You could setup a Character Style and only turn on the 'No Break' 

Then in your paragraph style go the Grep Style and put in

So it's looking for 5 characters or more at the end of a paragraph and applying a no break. 

Change the 5 if you want to match shorter or longer strings.

 

\w{5,}([.!?]["']?)?$

Brad @ Roaring Mouse
Community Expert
Brad @ Roaring MouseCommunity ExpertCorrect answer
Community Expert
July 10, 2025

If you are doing Justfied text, and you have a narrow column, you are limited to how good you CAN make it look.

What I expect you are seeing is large word spacings you don't like. You can minimize this by chnaging your Justification Settings to add space between letters to balance them out. Your default is probably something like this:

 Here, there is no spacing between letters added (Max: 0)

Increase this to, say 10% or even 20%. You can even play with the word space. 

I've changed this to (in the middle column) Word Spacing Max 133% with Letter Space Max 20%;

and the right column is Word Spacing Max 150% with Letter Spacing Max 10%

Play with the settings until you get a result that's pleasing to you.