space before and after headlines
I want to create a macro for headlines. - before the headline there should be a big space - after it a small space - when the headline is at the beginning of the page there shouls be no space before the headline. A workaround could be this - although it's not very comfortable: \starttext {bf Headline 1} \blank text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text .\par \blank[2*big] {bf Headline 2} \blank text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text .\par \blank[2*big] {bf Headline 3} \blank text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text .\par \stoptext Greetings Jannis
Am 28.04.2013 um 17:27 schrieb Jan Heinen
I want to create a macro for headlines. - before the headline there should be a big space - after it a small space - when the headline is at the beginning of the page there shouls be no space before the headline.
A workaround could be this - although it's not very comfortable:
\starttext
{bf Headline 1} \blank text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text .\par
\blank[2*big] {bf Headline 2} \blank text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text .\par
\blank[2*big] {bf Headline 3} \blank text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text .\par
\stoptext
\setuphead [subject] [before={\blank[2*big]}, after={\blank[big]}, style=bold] \starttext \subject{Headline 1} … \stoptext Wolfgang
participants (2)
-
Jan Heinen
-
Wolfgang Schuster