[texhax] List of Examples

bnb at ams.org bnb at ams.org
Fri Sep 25 14:38:56 CEST 2015


from uwe lueck:

    > it seems to be very difficult to avoid a page break after a header
    paragraph,

response from david carlisle:

    Just call the latex macro \@afterheading which will handle suppressing page
    breaks and also suppress indentation without using `\noindent` (which
    prematurely starts a paragraph after the heading, meaning that you can not
    follow the heading by a blank line in the source) But here you probably
    don't want a heading at all but a theorem environment style (theorem heads
    are set as list items, again to get control over breaking)

all very well, but is there a way to
avoid a page break when the next bit
after the heading is \begin{enumerate}
or one of its kin?  that is, *without*
tinkering with the current mechanism
of the list structures?  (if there's
already a hook there, i've managed
to miss it.)
					-- bb


More information about the texhax mailing list