[NTG-context] No widows and orphans
st_philipp at yahoo.de
Tue Mar 1 17:06:14 CET 2011
Am 01.03.2011 um 16:03 schrieb ntg-context-request at ntg.nl:
> Von: Cecil Westerhof <cldwesterhof at gmail.com>
> Datum: 1. März 2011 15:56:03 MEZ
> An: mailing list for ConTeXt users <ntg-context at ntg.nl>
> Betreff: Re: [NTG-context] No widows and orphans
> Antwort an: mailing list for ConTeXt users <ntg-context at ntg.nl>
> 2011/3/1 Thomas A. Schmitz <thomas.schmitz at uni-bonn.de>
> On Mar 1, 2011, at 3:41 PM, Cecil Westerhof wrote:
> > I do not want to have widows and orphans. Because of this I use:
> > \clubpenalty=10000
> > \widowpenalty=10000
> > But this has no effect. Still the last two lines of a paragraph are put on the next page instead of the complete paragraph.
> I think you are confusing things here: orphans and widows refer to single lines on the following/preceding page. So if you get two lines, you get exactly what you ask for. If I understand you correctly, you do not want to break paragraphs vertically at all?
> Okay, I did not understand the terminology correctly.
> Yes, in this particular case I would like not to break them.
I don't know whether that still works in ConTeXt, but try
> What would also be acceptable is when there are at least five lines on the page.
Try this (again untested):
\clubpenalties 5 10000 10000 10000 10000 10000
\widowpenalties 5 10000 10000 10000 10000 10000
More information about the ntg-context