> On 7 Jul 2015, at 20:17, Wolfgang Schuster <schuster.wolfg...@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. ---- \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 \NC ω^l \NR \NC ω^l \NC ↦ \NC -\NC ω^k \NR \stopaligned \stopformula \def\equlb#1{\left\{\eqalign{#1}\right.} %equation left braced \startformula J^j:\equlb{ω^0 &↦ 0 \cr ω^j &↦ 0} \quad \equlb{ω^k &↦ ω^l \cr ω^l &↦ -ω^k} \stopformula \stoptext ---- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________