[NTG-context] rightaligned formulas stick out in the margin

Mikael P. Sundqvist mickep at gmail.com
Tue Sep 27 15:10:39 CEST 2016


Hi!

Look at the following example (pdf attached)

\setupformulas[
align=flushleft,
leftmargin=3em,
]

\starttext
\input tufte % Some text to see where the margin is

This looks OK:
\startformula
1+1=2
\stopformula
This does not look OK:
\startformula
1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19
\stopformula
This looks OK again:
\startformula
\startalign
\NC 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1=19\NR
\stopalign
\stopformula
\stoptext

The result is attached. I would expect the second display math to
behave as the third, i.e. move to the left so that it fits. As a
workaround I can put every problematic formula I have in aligns, but I
have a feeling this might be a bug.

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


More information about the ntg-context mailing list