[NTG-context] avoiding space on top of a page

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Feb 11 18:18:17 CET 2018


> Henning Hraban Ramm <mailto:texml at fiee.net>
> 11. Februar 2018 um 16:00
> Ahoi,
> I configured my section titles to have a line of space (\blank[big]) 
> before and after the title.
> But if the section starts on a new page, the title should start in the 
> first line.
> I couldn’t find the right combination of \blank options...
>
> \setuplayout[grid=yes]
> \setuphead[section][
> page=no,
> style={\bf},
> before={\testpage[4]\startlinecorrection\blank[medium,back]},
> after={\blank[small,max]\stoplinecorrection},
> ]

\setuphead
   [...]
   [before={\testpage[5]\blank[...]\startlinecorrection},
    after={\stoplinecorrection\blank[...]}]

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180211/18009b32/attachment-0001.html>


More information about the ntg-context mailing list