Paul Tremblay wrote:
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.
\testpage[24pt] ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------