[NTG-context] 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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] space before and after headlines
Am 28.04.2013 um 17:27 schrieb Jan Heinen jahei...@gmx.de: 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 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] space before and after headlines
It's working. I have put the example into the wiki. What can be done to say: 26pt before the heading and 13pt after the heading instead of using \blank ? \setuphead [subject] [before={\blank[2*big]}, after={\blank[big]}, style=bold] \starttext \subject{Headline 1} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] space before and after headlines
Am 28.04.2013 um 19:52 schrieb Jan Heinen jahei...@gmx.de: It's working. I have put the example into the wiki. What can be done to say: 26pt before the heading and 13pt after the heading instead of using \blank ? What’s wrong with the \blank command? \setuphead [subject] [before={\blank[2*big]}, after={\blank[big]}, before={\blank[26pt]}, after={\blank[13pt]}, Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] space before and after headlines
What’s wrong with the \blank command? \setuphead [subject] [before={\blank[2*big]}, after={\blank[big]}, before={\blank[26pt]}, after={\blank[13pt]} Nothing wrong - everithing in best order. I didn't know that it's possible to use sizes with \blank. I put the information into the wiki. Thanx Jannis ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___