On 7 Jul 2015, at 20:17, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
You can set the alignment for each column in a matrix with the align key.
\definemathmatrix
[aligned]
[n=2,
align={right,left},
distance=\spaceamount]
\starttext
\startformula
J^j:
\startaligned[left=\left\{,right=\right.]
\NC ω^0 \NC ↦ 0 \NR
\NC ω^j \NC ↦ 0 \NR
\stopaligned
\quad
\startaligned[n=3,align={right,middle,left},left=\left\{,right=\right.]
\NC ω^k \NC ↦ \NC ω^l \NR
\NC ω^l \NC ↦ \NC -ω^k \NR
\stopaligned
\stopformula
\stoptext
That looks like the right thing. Thanks.
Your example is quite close to TeX, cf. example below.
I have also put in an extra alignment to see what happens, monospace code alignment style. Changing ‘left’ to ‘right did not seem to have any effect here.