Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use

grid=yes

in my setuplayout. With \showgrid I can see, that the space before and after a section is the same as before and after a subsection (3 lines before, and 2 lines after). But it would be nicer, if the subsection-title empty-space would be 2 lines before, and 1 line after, there should be a significant difference between the space around section and the space around subsection. This is possible with respect to grid=yes, indicated by the shown lines, but how?

share|improve this question

closed as unclear what you're asking by Joseph Wright Jul 7 '13 at 8:01

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
\setuphead[subsection][before={\blank[line]},style=bold] (also: MWE needed) –  phg Oct 16 '12 at 8:06
    
Thank you. And how can I adjust the space after a section with respect to grid? To be honest, I dont understand what \blank[line] does, after reading the article \blank in the wiki. –  Mustafa Oct 16 '12 at 8:48
    
One additional question to your comment: \setuphead[subsection][before={\blank[line]},style=bold] If I add that in my environment, which is loaded is the main file, than it has noe effect. But if I add that directly in the mainfile (that one with \starttext \stoptext), than it works, why? –  Mustafa Oct 16 '12 at 9:03
    
1. [after={\blank[...]}]. 2. It inserts a vertical blank of the size of a line. 3. Try this solution. –  phg Oct 16 '12 at 9:20
1  
@Mustafa: I have tried to improve the wiki article on \blank. Is it understandable now? If it is not, can you tell me what questions it does not answer clearly, so I can make it better? –  Esteis Oct 17 '12 at 12:25