14 May
2009
14 May
'09
4:02 p.m.
On Thu, 14 May 2009, Jos van Gisbergen wrote:
Hi,
I have defined my own header: \definehead[myhead][subsection] \setuphead[myhead][ page=no, number=no ] All works fine, except sometimes the head appears at page bottom and the text starts on the next page. How can I specify that if less than, say, 3 lines of text fit on the current page below the head, the head and text should start on the next page.
\testpage[3] checks that you have space for atleast 3 lines in the current page. So you can use \setuphead[myhead][before={\testpage[3]\blank}] Aditya