Received: from mx0.gmx.net (mx0.gmx.net [213.165.64.100]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with SMTP id p8N6AId0006127 for ; Fri, 23 Sep 2011 08:10:19 +0200 Received: (qmail 21126 invoked by alias); 23 Sep 2011 06:10:12 -0000 Delivered-To: GMX delivery to rainer.schoepf@gmx.net Received: (qmail invoked by alias); 23 Sep 2011 06:10:12 -0000 Received: from relay.uni-heidelberg.de (EHLO relay.uni-heidelberg.de) [129.206.100.212] by mx0.gmx.net (mx106) with SMTP; 23 Sep 2011 08:10:12 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p8N67r2P008756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Sep 2011 08:07:53 +0200 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p8MM14H0003088; Fri, 23 Sep 2011 08:07:52 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 1592851 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 23 Sep 2011 08:07:52 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id p8N67qKk005188 for ; Fri, 23 Sep 2011 08:07:52 +0200 Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id p8N67fkJ008675 for ; Fri, 23 Sep 2011 08:07:45 +0200 Received: from cremornelane.demon.co.uk ([80.177.25.195] helo=palladium.local) by anchor-post-2.mail.demon.net with esmtp (Exim 4.69) id 1R6yvF-0003EA-lk for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 23 Sep 2011 06:07:41 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 References: <4E79D279.2050901@morningstar2.co.uk> <4E79E2B7.6080906@residenset.net> <4E79E8C1.8060107@morningstar2.co.uk> <4E79F0F7.7060400@residenset.net> <4E7A1579.1000009@morningstar2.co.uk> <4E7A2EBF.3070009@latex-project.org> <4E7A414B.2020900@morningstar2.co.uk> <4E7B6D5B.3030707@latex-project.org> <4E7B8BC3.8080408@morningstar2.co.uk> X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4E7C222D.5000700@morningstar2.co.uk> Date: Fri, 23 Sep 2011 07:07:41 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: \interlinepenalties To: LATEX-L@listserv.uni-heidelberg.de In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-GMX-Antispam: 0 (Sender is in whitelist: joseph.wright@MORNINGSTAR2.CO.UK); Detail=5D7Q89H36p4L00VTXC6D4q0N+AH0PUCnBi0P5cROEGjO+pG7NAH/K+tf9SrVFtpLrKONl 2T9EL4W4U4jgzLbnCcGpk1z/zwmKT/K1fv3lD0=V1; X-Resent-By: Forwarder X-Resent-For: rainer.schoepf@gmx.net X-Resent-To: rainer@rainer-schoepf.de Status: R X-Status: X-Keywords: X-UID: 6901 On 22/09/2011 22:44, Bruno Le Floch wrote: >> What it seems is needed is an interface that makes sense, i.e. which >> separates out: >> >> 1) The general interline penalty >> 2) The penalty for lines(s) at the start of the paragraph as a whole >> 3) The penalty for lines(s) at the end of the paragraph as a whole >> 4) The penalty for line(s) before display math >> 5) The penalty for line(s) after display math >> 6) Additional penalties between arbitrary lines >> >> or some such structure. This will require a bit of thought, as it means >> synchronising the various primitives in an ordered way. > > I'm afraid (3) doesn't exist (not sure). It would be > \the\interlinepenalties -k, where is the number of > lines in the paragraph. No, \widowpenalties applies only at the end of the paragraph as a whole, not at the end of the partial paragraph. The \widowpenalties and \displaywidowpenalties cover cases (3) and (4) in a clear manner (additivity, of course, with \interlinepenalt(y|ies). I have an overall idea now on what is needed! -- Joseph Wright