Path: utzoo!attcan!uunet!mcsun!ukc!edcastle!aipna!cstr!tim From: tim@cstr.ed.ac.uk (Tim Bradshaw) Newsgroups: comp.text.tex Subject: Re: Restricting pagebreaks within a paragraph in LaTeX Message-ID: Date: 20 Aug 90 18:58:59 GMT References: <8140@jarthur.Claremont.EDU> Sender: news@aipna.ed.ac.uk Organization: CSTR, University of Edinburgh Lines: 23 In-reply-to: rjc@uk.ac.ed.cstr's message of 20 Aug 90 18:31:07 GMT >>>>> On 20 Aug 90 18:31:07 GMT, rjc@uk.ac.ed.cstr (Richard Caley) said: > Probably a stupid question but... > Is there any way to do this `automatically'; that is, how can I define > an environment which will keep a given block of text on one page > without either having to end each line with \\* ( thus making the > whole thing unreadable ) or putting it in a vbox ( which will set the > glue and prevent the normal line spacing adjustments ). > Thanks for any help, I'm sure it is burried in the TeX book somewhere > but I can't see it. Well I haven't tried it but, setting \interlinepenalty quite high should prevent it breaking between lines. Of course you also need to set \widowpenalty, \displaywidowpenalty \brokenpenalty equivalently high, or TeX will produce widows &c by preference. This will do interesting things to the page breaking in general of course... --tim Tim Bradshaw. Internet: tim%ed.cstr@nsfnet-relay.ac.uk UUCP: ...!uunet!mcvax!ukc!cstr!tim JANET: tim@uk.ac.ed.cstr "Quis custodiet ipsos custodes?"