[NTG-context] mathalignment not working (? again ?)

śrīrāma citturs at gmail.com
Wed Mar 2 02:33:06 CET 2022


Hi,

While setting some rather large set of equations in a document I could not 
achieve proper alignment of columns in mathalignment. Below is a demonstrative 
example:

\starttext
\placeformula
\startformula 
\startmathalignment[n=7,align={right,left,right,left,right,left,right}]
    \NC x_1 \NC + \NC x_2 \NC + \NC 6x_3 \NC = \NC 170, \NR
    \NC 3x_1 \NC - \NC 110x_2 \NC - \NC x_3 \NC = \NC 4, \NR
    \NC 14x_1 \NC + \NC 13x_2 \NC + \NC 10x_3 \NC = \NC 25. \NR
\stopmathalignment
\stopformula

\startformula \startmathalignment[align={left,right}]
    \NC \sin^2 x + \cos^2 x \NC = 1 \NR
    \NC e^{iπ}              \NC = -1 \NR
\stopmathalignment \stopformula
\stoptext

The first example is from the wiki and the second one is just something I wrote 
as an example. Compiling the above, I see that the equations are not aligned 
as requested. There was an earlier discussion on this here:
	https://www.mail-archive.com/ntg-context@ntg.nl/msg97115.html

However, I have:
	mtx-context     | current version: 2022.01.21 20:13
where I have verified that the fix therein is present (in math-ali.mkxl).

Have I gone wrong somewhere ?

Thanks,
Sreeram




More information about the ntg-context mailing list