[NTG-context] Back on grid after displayed math

Mikael P. Sundqvist mickep at gmail.com
Sun Aug 21 22:15:29 CEST 2016


Hi!

Im curious how to get back to the grid after a displayed formula? I try

\setuplayout[grid=yes]
\showgrid

\setupformulas[align=middle]

\starttext
\input knuth

\startformula
a^2+b^2=c^2
\stopformula

\input knuth
\stoptext

(where the \setupformulas[align=middle] was suggested in a comment at
http://tex.stackexchange.com/questions/254815/grid-on-aligned-equations-in-context
, but that makes no difference)

but that does not work (result attached).

Would it be easier if there were also an option saying how many lines
the equation should take? Say,

\startformula[lines=3]
a^2+b^2=c^2
\stopformula

and then centering the formula (or having options for that) vertically
over the three lines? Maybe that is a not a good idea for some
reason...

/Mikael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctx-listexample6.pdf
Type: application/pdf
Size: 28269 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160821/daee4827/attachment-0001.pdf>


More information about the ntg-context mailing list