Okay, but I think it's a bug, because as you see in the linked pdf it worked the simple way some years ago... On Wed, 2020-12-30 at 14:38 +0100, Hans Åberg wrote:
One has to indicate the align pattern for all columns, otherwise it defaults to left, it seems:
\starttext
\startformula \startalign[m=2,distance=8em,n=5, align={right,middle,middle,middle,left,right,middle,middle,middle,left}] \NC 0 \NC < \NC 2x + 5y \NC < \NC 10 \NC 4 \NC < \NC 3x + y \NC < \NC 9 \NR \NC 3 \NC < \NC 2y + 3z \NC < \NC 15 \NC 10\NC < \NC 8y + 5z \NC < \NC 20 \NR \stopalign \stopformula
\stoptext
On 29 Dec 2020, at 14:36, Johann Birnick
wrote: Hi there,
I noticed that Math align is not working properly. In particular I mean the alignment. For example, the following code
\starttext
\startformula \startalign[m=2,distance=8em,n=5, align={right,middle,middle,middle,left}] \NC 0 \NC < \NC 2x + 5y \NC < \NC 10 \NC 4 \NC < \NC 3x + y \NC < \NC 9 \NR \NC 3 \NC < \NC 2y + 3z \NC < \NC 15 \NC 10\NC < \NC 8y + 5z \NC < \NC 20 \NR \stopalign \stopformula
\stoptext
is copied from https://dl.contextgarden.net/myway/mathalign.pdf but doesn't produce the intended result.
What's wrong?
Best regards, Johann
____________________________________________________________________________ _______ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________________________ _______
______________________________________________________________________________ _____ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ______________________________________________________________________________ _____