Am 09.03.2026 um 19:41 schrieb Milan:
Sorry!
This is a complete example, math and itemize and the whole first page are not 
on the grid.

[...]

The style for \section contains the following setting to put some space after the title

\setuphead
  [section,subject]
  [before={\bigskip\bigskip}]

This causes the text following \section to go off-grid, the correct way to set the space is to use the \blank command which takes care to insert the correct space.

\setuphead
  [section,subject]
  [before={\blank[2*big]}]

Youz should also avoid "small", "medium" or "big" for \blank when you use grid-mode and stick to values based in the line height like "quarterline", "halfline" or "line".

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to