[NTG-context] page ends with a section title followed by a table

Pablo Rodriguez oinos at gmx.es
Tue Nov 10 15:59:12 CET 2020


On 11/10/20 9:55 AM, Sylvain Hubert wrote:
> Dear List,
>
> In the following example, the section title appears at the very end of
> the first page.
> [...]
> Does anyone know where to adjust the penalty in this case, so that the
> section title can be repositioned to the next page?

Hi Sylvain,

  \setuphead[title]
    [before={\blank[preference, big],
     after={\blank[samepage, big]]

In this case, the blank space before sets a preference for inserting a
page break. The blank space after requires to be in the same page with
next paragraph.

Of course, you don’t need both simultaneously.

Just in case it helps,

Pablo
--
http://www.ousia.tk


More information about the ntg-context mailing list