[texhax] List of Examples (page break?)
Uwe Lueck
uwe.lueck at web.de
Fri Sep 25 21:40:56 CEST 2015
bb wrote:
> 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?
Isn't current LaTeX such a way? I have
studied some code (\if at nobreak), and
\showlists doesn't show a possible breakpoint:
\ProvidesFile{sechdbrk.tex}[2015/09/25 v3 dem. pbrk. after sechd.]
\documentclass{article}
\begin{document}
\tracingonline=1 \showboxdepth=0 \showboxbreadth=10
{\large A \par} \nobreak
\makeatletter \@afterheading
\begin{itemize} \item B \par \showlists
\end {itemize}
\end{document}
Or do you have a counterexample?
Best,
Uwe.
More information about the texhax
mailing list