0

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
  • 1
    \sloppy usually can avoid hyphenation. Not always. – John Kormylo Oct 28 '20 at 1:41
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.

2
  • If I am not wrong, I think he needs to play with the hyphenation penalty. – Diaa Oct 27 '20 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. – David Carlisle Oct 27 '20 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.