https://en.wikipedia.org/wiki/Widows_and_orphans
The logic for detecting widows should be pretty easy to deal with. We can easily measure the size of the row on the next page.
Orphans, on the other hand, will be a bit of a challenge since the code would need to deal word-by-word for paragraphs that wholly fit on a page.
https://en.wikipedia.org/wiki/Widows_and_orphans
The logic for detecting widows should be pretty easy to deal with. We can easily measure the size of the row on the next page.
Orphans, on the other hand, will be a bit of a challenge since the code would need to deal word-by-word for paragraphs that wholly fit on a page.