On Mon, 17 Jan 2022, Otared Kavian via ntg-context wrote:
Hi Hans and Mikael,
While investigating the latest version regarding the math environment, I found that the alignments are not correct. Here is an example:
% begin bug-alignment.tex \definemathmatrix[alignedcases] [align={right,left,left}, distance=3pt, left={\left\{}, right={\right.}, style=\displaystyle] \starttext
\placeformula[eq:1] \startformula \startalignedcases \NC \partial_{t} u \NC = \Delta u + \epsilon^{-2}f(u) \NC\qquad\text{in }\, \Omega\times (0,+\infty) \NR \NC {\partial\phi(u) \over \partial{\bi n}} \NC = 0 \NC\qquad\text{on }\, \partial \Omega\times (0,+\infty)\NR \NC u(x,0) \NC = u_{0}(x)\NC\qquad\text{in }\, \Omega.\NR \stopalignedcases \stopformula
\stoptext % end bug-alignment.tex
I confirm that this is a bug, which was not there in the version from mid Dec. It appears that the align key does not have any effect. Here's a simpler example: \definemathmatrix[matrix] [align={right,left,left}] \starttext \startformula \startmatrix \NC ABC \NC ABC \NC ABC \NR \NC AAAAAA \NC AAAAAA \NC AAAAAA \NR \stopmatrix \stopformula \stoptext Aditya