On Wed, 17 Jan 2018, Fabrice Couvreur wrote:
Hello,
This macro that is not mine worked very well. I just tested the following
file and there is a problem.
Otared has already answered your question but ...
\math{M^3=\startpmatrix
\NC 2 \NC 3 \NC 6 \NC 4 \NC 2 \NC 7 \NC 3 \NC 1 \NR
Hi Fabrice,
I think the problem comes from a blank line in your matrix (after your last
line of entries in your matrix). The following works fine for me:
\definemathmatrix
[pmatrix]
[left={\left(\,},right={\,\right)}]
\starttext
\startformula
A = \startpmatrix
\NC 11 \NC 12 \NR
\NC 21 \N
Hello,
This macro that is not mine worked very well. I just tested the following
file and there is a problem.
Thank you
Fabrice
\definemathmatrix
[pmatrix]
[left={\left(\,},right={\,\right)}]
\starttext
\math{M^3=\startpmatrix
\NC 2 \NC 3 \NC 6 \NC 4 \NC 2 \NC 7 \NC 3 \NC 1 \NR