Tell me more ×
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
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

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.