Hi,
try
\startmathalignment[n=2,align={1:left,2:right}]
I think this was changed two or three years ago.
/Mikael
On Fri, Nov 24, 2023 at 11:04 PM wolfgangbackes--- via ntg-context
Something as elementary as "mathenvironment" can't really be faulty, can it? According to my recent tests, a mathalignment environment does not seem to react (any more) to the values of the "align" option. The source code hab been rendered correctly a few years ago,
Minimal example 1:
\starttext \startformula \startmathalignment[n=2,align={left, right}] \NC always aligned to the right \NC = u + at, \NR \NC d \NC = ut + \frac12 at^2. \NR \stopmathalignment \stopformula \stoptext
Despite "align={left, right}", the first column is aligned to the right and the second to the left. This does not change, no matter which values I assign to "align", for example align={middle, middle}.
The align option is also ignored in the case of other column numbers., for example:
\starttext \startformula \startmathalignment[n=1,align=left] \NC This single column should \NR \NC be left-aligned, \NR \NC but it is centered. \NR \stopmathalignment \stopformula \stoptext
What am I missing here? Where is my mistake?
Regards Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________