![](https://secure.gravatar.com/avatar/4124bf4a2fb1eee5a3e94b2aa0a5764a.jpg?s=120&d=mm&r=g)
On Mon, Mar 28, 2005 at 10:04:58PM -0500, Paul Tremblay wrote:
How does one prevent orphans (the first line nof a paragraph on the last line of a page) and widows (the last line of a paragraph on a new page)?
If I have the title of a new section that must not be the last line of a page, how can I do this?
I've hunted around the web quite a bit, and there doesn't seem to be an easy way to do this. I tried: \clubpenalty=-600 \widowpenalty=-600 But this had no effect. What I would need is some type of macro that can determine how much space is left on the page. If the space is less than some small, pretermined amount (say, 24 points, for example), then put the title on the next page, or put in a \blank[24pt, flexible] I know nothing about writing macros, or if this is possible. Paul -- ************************ *Paul Tremblay * *phthenry@iglou.com * ************************