[NTG-context] mathmatrix and grid: followup

Henri Menke henrimenke at gmail.com
Tue Nov 22 14:18:10 CET 2016

Dear list,

some time ago I asked about the interplay of mathmatix with grid typesetting: https://mailman.ntg.nl/pipermail/ntg-context/2016/087018.html

I noticed that when the grid is enabled, the height of a mathmatrix is rounded down which leaves less space above than below.  In my opinion either the height should be rounded up or the depth rounded down here.  In the original thread Wolfgang proposed using \setupformula[grid=tolerant] and adding a blank line before the formula (otherwise grid=tolerant is applied to the paragraph before).  This workaround leads to the depth being rounded down in the example below which produces a more balanced output.  Could this somehow be made the default behaviour or something?  Currently it requires the user to notice that vertical spacing is off and correct it manually, including adding a blank line before the formula to prevent grid=tolerant being applied to the paragraph.

Cheers, Henri




\input knuth
  \vrule % make lineheight and depth visible
    \NC A \NR
    \NC B \NR
    \NC C \NR
\input tufte


More information about the ntg-context mailing list