Received: by nummer-3.proteosys id <01C19443.AD36F47C@nummer-3.proteosys>; Thu, 3 Jan 2002 11:44:53 +0100 In-Reply-To: <01GNUBS0NZS2ASBLRT@MATH.AMS.ORG> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C19443.AD36F47C" x-vm-v5-data: ([nil nil nil nil nil nil nil t nil]["1926" "Fri" "21" "August" "92" "19:23:11" "CET" "bbeeton" "BNB@MATH.AMS.ORG" nil "38" "Re: heading names and question" nil nil nil "8"]) X-MimeOLE: Produced By Microsoft Exchange V6.5 Resent-From: Rainer Schoepf Content-class: urn:content-classes:message Subject: Re: heading names and question Date: Fri, 21 Aug 1992 20:23:11 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "bbeeton" Sender: "Mailing list for the LaTeX3 project" To: "Multiple recipients of" Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 734 This is a multi-part message in MIME format. ------_=_NextPart_001_01C19443.AD36F47C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable frank asks if, in the case of two consecutive headings, the proper approach is to suppress the preskip of the second one, and keep only the postskip of the first. i think this is not necessarily the right thing to do. posit the case where there are two headings, each on a line or lines by itself, but there is no extra postskip on either heading, the distinction being only in the size or font of the heading text. (i believe this still qualifies in frank's terms, though the vertical skip between them has a zero dimension.) to suppress the preskip of the second would mean that there is no additional space between the two, and i don't believe that would ordinarily be what is wanted. i've taken two approaches in such a case (not in latex), depending on what was specified by the designer: - retaining the larger of the \lastskip and the skip on the heading (any heading, actually; this will properly retain the skip after a theorem that ended the previous paragraph). this is most appropriate for articles and books containing ordinary text. - turn on a switch when a heading is set, turn off heading switches as soon as some non-heading text is encountered (in text with an appropriate definition of \everypar, and in other constructions, such as names in a list, in some suitable manner), then test for the value of the switch when processing a heading below the first level and inserting the amount of space specified by the designer (this amount may be something different from either of the relevant post- or preskips). this technique is most appropriate for non-textual documents, such as committee lists or structured bibliographies. of course, it might be pointed out that latex 2.09 is not ideally suited to directories, price lists, and that sort of ultra-structured documents. but i have hopes that this limitation will be removed in the new edition. -- bb ------_=_NextPart_001_01C19443.AD36F47C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: heading names and question

frank asks if, in the case of two consecutive = headings, the proper
approach is to suppress the preskip of the second = one, and keep
only the postskip of the first.

i think this is not necessarily the right thing to = do.

posit the case where there are two headings, each on a = line or lines
by itself, but there is no extra postskip on either = heading, the
distinction being only in the size or font of the = heading text.  (i
believe this still qualifies in frank's terms, though = the vertical
skip between them has a zero dimension.)  to = suppress the preskip of
the second would mean that there is no additional = space between the
two, and i don't believe that would ordinarily be = what is wanted.

i've taken two approaches in such a case (not in = latex), depending
on what was specified by the designer:

 - retaining the larger of the \lastskip and the = skip on the heading
   (any heading, actually; this will = properly retain the skip after
   a theorem that ended the previous = paragraph).  this is most
   appropriate for articles and books = containing ordinary text.

 - turn on a switch when a heading is set, turn = off heading switches
   as soon as some non-heading text is = encountered (in text with an
   appropriate definition of \everypar, and = in other constructions,
   such as names in a list, in some = suitable manner), then test for the
   value of the switch when processing a = heading below the first level
   and inserting the amount of space = specified by the designer (this
   amount may be something different from = either of the relevant post-
   or preskips).  this technique is = most appropriate for non-textual
   documents, such as committee lists or = structured bibliographies.

of course, it might be pointed out that latex 2.09 is = not ideally
suited to directories, price lists, and that sort of = ultra-structured
documents.  but i have hopes that this = limitation will be removed in
the new edition.
        =         =         =         =         =         -- bb

------_=_NextPart_001_01C19443.AD36F47C--