Henning Hraban Ramm <
texml@fiee.net> hat am 02.11.2024 23:58 CET geschrieben:
Am 02.11.24 um 21:11 schrieb Joel via ntg-context:
How can I be so precise making sure the page break doesn't seperate the
title from the start of the area where students write their answers?
To force keep something together, you can use a \framed or a \vbox.
With a bit less force, use \testpage[<number of lines>], as in
\setuphead[…][after={\testpage[5]}] to insert a page break if there are
less than ~4 lines left on the page (you always need a bigger number
than you think).
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
___________________________________________________________________________________