0

It is possible to prevent a linebreak with \mbox or a ~. But suppose that you have a very long document, so is it possible to prevent a linebreak for the last line of each page.

A linebreak can be done in other lines except the last line of page ? I need a general solution. For a long document it is not possible to check bottom of the each page and wrap the paragraph with mbox or samepage, compile again and check for other pages forward.

In following paragraph, the word "indignation" was broken to two. enter image description here

8
  • 1
    do you mean that a paragraph should never be broken at the end of a page? Commented Jun 2, 2018 at 14:32
  • Yes, sometimes a paragraph exists in more than one page.
    – Mark
    Commented Jun 2, 2018 at 14:54
  • 1
    Look at the samepage environment and search T.SE as this has answers here.
    – aiag
    Commented Jun 2, 2018 at 15:06
  • Are you asking about widows and orphans? Commented Jun 2, 2018 at 18:09
  • @PeterWilson it is another necessity actually. I solved it with this \usepackage[defaultlines=2,all]{nowidow}. But even there exist 2 lines at the end of page, sentence shouldn't be broken to the next page.
    – Mark
    Commented Jun 2, 2018 at 19:16

0

You must log in to answer this question.

Browse other questions tagged .