Re: [NTG-context] Math align not working

2021-01-09 Thread Johann Birnick
Hi Aditya, thank you very much, now I need to specify the alignment only for one "column" and it gets applied for all of them. However, there is still the problem with the standard setting of the alignment. For example, \starttext \startformula \startalign[m=2, align={right,left}] \NC ab \NC =

Re: [NTG-context] Math align not working

2021-01-01 Thread Aditya Mahajan
On Fri, 1 Jan 2021, Hans Hagen wrote: > On 1/1/2021 8:21 AM, Aditya Mahajan wrote: > > \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

Re: [NTG-context] Math align not working

2021-01-01 Thread Hans Hagen
On 1/1/2021 8:21 AM, Aditya Mahajan wrote: \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

Re: [NTG-context] Math align not working

2020-12-31 Thread Aditya Mahajan
On Wed, 30 Dec 2020, Johann Birnick wrote: > Okay, but I think it's a bug, because as you see in the linked pdf it worked > the > simple way some years ago... Yes, something has changed internally. Earlier, if you used: \startalign[align={right,left}, n=4] ... \stopalign then the alignment

Re: [NTG-context] Math align not working

2020-12-30 Thread Hans Åberg
The developers might tune in; perhaps it was changed. > On 30 Dec 2020, at 15:01, Johann Birnick wrote: > > Okay, but I think it's a bug, because as you see in the linked pdf it worked > the > simple way some years ago...

Re: [NTG-context] Math align not working

2020-12-30 Thread Johann Birnick
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 > >

Re: [NTG-context] Math align not working

2020-12-30 Thread Hans Åberg
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 <

Re: [NTG-context] Math align not working

2020-12-30 Thread Johann Birnick
Hi Alain, I don't know what you mean by "you have two position in the second and one in the first" ? The 4 is not aligned correctly. Please see https://dl.contextgarden.net/myway/mathalign.pdf where the example comes from. The output looks different. Best regards, Johann On Wed, 2020-12-30 at

Re: [NTG-context] Math align not working

2020-12-30 Thread Alain Delmotte
Hi Johann, The 4 is right aligned, but for this column you have two position in the second and one in the first. You could try ~4 and it will align with 10. Best regards, Alain Le 29/12/2020 à 22:27, Johann Birnick a écrit :

Re: [NTG-context] Math align not working

2020-12-29 Thread Johann Birnick
Hi Otared, I'm using the same version. The problem is the "right"-alignment. See the 4 on the right side. It should be right-aligned. I attached my pdf. Best regards, Johann On Tue, 2020-12-29 at 21:37 +0100, Otared Kavian wrote: > Hi Johann, > > The example you sent works fine here with LMTX

Re: [NTG-context] Math align not working

2020-12-29 Thread Otared Kavian
Hi Johann, The example you sent works fine here with LMTX version 2020.12.28 01:41. Which version of ConTeXt are you using ? Best regards: Otared > 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 >

[NTG-context] Math align not working

2020-12-29 Thread Johann Birnick
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,