[luatex] Refuses to page break between section headings

luigi scarso luigi.scarso at gmail.com
Mon Mar 9 18:24:57 CET 2015


On Mon, Mar 9, 2015 at 5:28 PM, Jonas Olson <jolson at kth.se> wrote:

> Den 2015-03-09 16:35, Ulrike Fischer skrev:
>
>> But imho the source of your problem is the misuse of \section. Why
>> are you using it if you actually don't want a section title? Why
>> don't you define a command that is more suitable?
>>
>
> I don't really know enough to construct a suitable command myself,
> especially things like adding a vertical space above the heading iff it is
> not the first thing on the page, and adding a vertical space below the
> heading iff it has a text body.
>
> Jonas
>
something like this ?
\documentclass[]{article}

\begin{document}
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject
\section{A}\vfill\eject

\end{document}


-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20150309/8c9ba8bf/attachment-0001.html>


More information about the luatex mailing list