28 Sep
2023
28 Sep
'23
9:03 p.m.
Hi,
On Thu, Sep 28, 2023 at 6:39 PM Aditya Mahajan
Hi,
The `align` parameter of `\setupformulas` is ignored in mathalign. Consider the following MWE:
\setupformulas[align=flushleft,leftmargin=2em]
\starttext \startformula A = B \stopformula
vs
\startformula \startalign \NC A \NC B \NR \NC A \NC B \NR \stopalign \stopformula \stoptext
The first display formula is flush left, but the aligned formula is centered on the page. This appears to be a regression compared to MkIV, where the above example works correctly.
The whole alignment mechanism was redone, and a lot focus was put on getting right placement for formula numbers and display alignment. We did not yet look into this use case, but we will. /Mikael