6

I'm writing an article. In a certain paragraph, the last sentence is spread over two lines. The second line is just a short word ('in') and that's a bit ugly.

Is there an easy way to keep it together with the rest of the sentence on a single line? I think about shrinking the space between the words or the characters.

lockstep
  • 250,273
Jeroen
  • 4,491

2 Answers2

5

Put

\looseness=-1 

before the start of the paragraph and TeX will try to make that para one line shorter, if the paragraph is long enough there is usually enough flexibility in TeX's linebreak algorithm to adjust the number of lines without exceeding the specified \tolerance.

David Carlisle
  • 757,742
2

Use non-breaking space, i.e., "do~not~split". Use sparingly, I'd add such tweaks only in the last step before printing the definite version.

vonbrand
  • 5,473