I want a document with justified text. However, there are some long words which are coming at the end of lines and are being pushed to the new lines and are being hyphenated.

If I have spacing explicitly, the current line's text does not remain justified.

How to solve for this?

I would really appreciate your help!

  • 1
    \sloppy usually can avoid hyphenation. Not always. Oct 28, 2020 at 1:41

1 Answer 1


You can use \linebreak to force a line break at that point (unlike \\ or \newline this does not force the line to be short). Normally the spacing will be sub-optimal, but for final manual correction it can be useful.

  • If I am not wrong, I think he needs to play with the hyphenation penalty.
    – Diaa
    Oct 27, 2020 at 21:24
  • @Diaa I can only answer the question as asked. As I tried to indicate this is not usually the best thing to do but it is the exact answer to the question and I can't guess unseen use cases here. Oct 27, 2020 at 21:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.