[NTG-context] Converting from LaTeX for PDF accessibility tagging?
Aditya Mahajan
adityam at umich.edu
Mon Jun 29 03:29:26 CEST 2020
On Mon, 29 Jun 2020, Alasdair McAndrew wrote:
> (For matrices and arrays I still prefer the neat LaTeX implementation, but
> maybe that's simply my general unfamiliarity with ConTeXt.) Thanks again!
Matrices can also be entered using MATLAB syntax (you need to specify a `simplecommand` for mathmatrix:
\definemathmatrix[bmatrix][matrix:brackets][simplecommand=BMATRIX]
\starttext
Default style:
\startformula
\startbmatrix
\NC 1 \NC 2 \NC 3 \NR
\NC 4 \NC 5 \NC 6 \NR
\NC 7 \NC 8 \NC 9 \NR
\stopbmatrix
\stopformula
Compact style:
\startformula
\BMATRIX{1, 2, 3; 4, 5, 6; 7, 8, 9}
\stopformula
\stoptext
I'd say this is more compact (and natural) than amsmath :-)
Aditya
More information about the ntg-context
mailing list