23 Feb
2023
23 Feb
'23
9:32 a.m.
Hi, I want to make the spacing before headings conditional. Like, apply the spacing if the a heading follows some text, but not if it immediately follows a previous heading. This has been requested before : https://www.mail-archive.com/ntg-context@ntg.nl/msg63950.html Does there exist a way now, to achieve this? Best, Denis \setuphead [section, subsection] [number=yes] \setuphead [section] [before={\blank[2*big]}, after={\blank[big]}] \setuphead [subsection] [before={\blank[2*big]}, after={\blank[big]}] \starttext \section{A} \input knuth \subsection{B} % regular spacing here \input knuth \section{C} \subsection{D} % less spacing here \input knuth \stoptext
668
Age (days ago)
668
Last active (days ago)
0 comments
1 participants
participants (1)
-
denis.maier@unibe.ch