Re: [NTG-context] Math alignment question

2022-09-24 Thread Jeong Dal via ntg-context
Dear Hans, >> Thank you for your explanation. >> I just wonder \alinghere can be applicable to multiple formula. >> It is OK to use \NC \NR for multiple formulas. > What probably can be done, is to let the next formula start with the align of > the previous one .. Mikael can add it to our todo >

Re: [NTG-context] Math alignment question

2022-09-24 Thread Hans Hagen via ntg-context
On 9/24/2022 4:51 PM, Jeong Dal via ntg-context wrote: Dear Aditya, Mikael, Thank you for your explanation. I just wonder \alinghere can be applicable to multiple formula. It is OK to use \NC \NR for multiple formulas. What probably can be done, is to let the next formula start with the align o

Re: [NTG-context] Math alignment question

2022-09-24 Thread Jeong Dal via ntg-context
Dear Aditya, Mikael, Thank you for your explanation. I just wonder \alinghere can be applicable to multiple formula. It is OK to use \NC \NR for multiple formulas. Best regards, Dalyoung ___ If your question is of

Re: [NTG-context] Math alignment question

2022-09-23 Thread Mikael Sundqvist via ntg-context
On Fri, Sep 23, 2022 at 8:46 PM Aditya Mahajan via ntg-context wrote: > > On Thu, 22 Sep 2022, Jeong Dal via ntg-context wrote: > > > Dear Mikael and Hans, > > > > Recently, you introdued the new command “\alignhere, \breakhere, \skiphere” > > which works fine. > > > > Since I usually use the fol

Re: [NTG-context] Math alignment question

2022-09-23 Thread Aditya Mahajan via ntg-context
On Thu, 22 Sep 2022, Jeong Dal via ntg-context wrote: > Dear Mikael and Hans, > > Recently, you introdued the new command “\alignhere, \breakhere, \skiphere” > which works fine. > > Since I usually use the following code that is adopted from My > Way(Mathalign.pdf), I’d like to know that there

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
That was the solution, it worked! Thank you so much! /Jan-Erik > 22 sep. 2022 kl. 14:54 skrev Alexandre Christe via ntg-context > : > > Hi Jan-Erik, > > One way I came across searching the mailing list is the following: > > \starttext > > \startitemize [a,columns,joinedup] [n=3,grid=line] >

[NTG-context] Math alignment question

2022-09-22 Thread Jeong Dal via ntg-context
Dear Mikael and Hans, Recently, you introdued the new command “\alignhere, \breakhere, \skiphere” which works fine. Since I usually use the following code that is adopted from My Way(Mathalign.pdf), I’d like to know that there is a way to use “\alignhere, \breakhere, \skiphere” for the case b

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Alexandre Christe via ntg-context
Hi Jan-Erik, One way I came across searching the mailing list is the following: \starttext \startitemize [a,columns,joinedup] [n=3,grid=line] \item $ 56 + 2 \cdot 3 $ \item $ 5-(7) $ \item $ \frac{21}{7} $ \stopitemize \stoptext Could be that there is a *better* way. Le jeu. 22 sept. 2022 à 1

[NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
Dear List!I do not know how to solve this issue.I want the formulas appear on same height, as you can se on the attachment the formula containing a fraction displaces on another vertical position compared to the other equations.How do I correct this?Code snippet pasted from garden\starttext\startit

Re: [NTG-context] Math alignment

2015-07-07 Thread Hans Aberg
> On 7 Jul 2015, at 21:49, Wolfgang Schuster > wrote: > You should google for mathalign.pdf which explains and shows examples for the > matrix, cases etc. environments. It looks rather basic, except for last formula of section 9. The document amshelp.pdf, ch. 7, has some nice pure math styl

Re: [NTG-context] Math alignment

2015-07-07 Thread Hans Aberg
> On 7 Jul 2015, at 21:49, Wolfgang Schuster > wrote: > You should google for mathalign.pdf which explains and shows examples for the > matrix, cases etc. environments. > > To get the same result as your LaTeX example you can use the m key for > \startalign. > > \starttext > > \startformul

Re: [NTG-context] Math alignment

2015-07-07 Thread Wolfgang Schuster
Hans Aberg 7. Juli 2015 21:11 On 7 Jul 2015, at 20:17, Wolfgang Schuster wrote: You can set the alignment for each column in a matrix with the align key. FYI, the document amshelp.pdf says that AMS-LaTeX environments align, align*, and aligned, can have multip

Re: [NTG-context] Math alignment

2015-07-07 Thread Hans Aberg
> On 7 Jul 2015, at 21:18, Wolfgang Schuster > wrote: >> I have also put in an extra alignment to see what happens, monospace code >> alignment style. Changing ‘left’ to ‘right did not seem to have any effect >> here. >> > Can you see the effect of the alignment? > > \starttext > > \startf

Re: [NTG-context] Math alignment

2015-07-07 Thread Wolfgang Schuster
Hans Aberg 7. Juli 2015 20:53 On 7 Jul 2015, at 20:17, Wolfgang Schuster wrote: You can set the alignment for each column in a matrix with the align key. \definemathmatrix [aligned] [n=2, align={right,left}, distance=\spaceamount] \starttext \st

Re: [NTG-context] Math alignment

2015-07-07 Thread Hans Aberg
> On 7 Jul 2015, at 20:17, Wolfgang Schuster > wrote: > You can set the alignment for each column in a matrix with the align key. FYI, the document amshelp.pdf says that AMS-LaTeX environments align, align*, and aligned, can have multiple alignments, and gives this example: \begin{align*} K

Re: [NTG-context] Math alignment

2015-07-07 Thread Hans Aberg
> On 7 Jul 2015, at 20:17, Wolfgang Schuster > wrote: > You can set the alignment for each column in a matrix with the align key. > > \definemathmatrix > [aligned] > [n=2, >align={right,left}, >distance=\spaceamount] > > \starttext > > \startformula > J^j: > \startaligned

Re: [NTG-context] Math alignment

2015-07-07 Thread Wolfgang Schuster
Hans Aberg 7. Juli 2015 18:23 On 7 Jul 2015, at 16:47, Wolfgang Schuster wrote: I get errors when using \MC - see example below. The \NR before \stopmathcases is missing in all your examples. OK. Though I know it, it is hard to get used to, coming from LaTeX

Re: [NTG-context] Math alignment

2015-07-07 Thread Hans Aberg
> On 7 Jul 2015, at 16:47, Wolfgang Schuster > wrote: >> I get errors when using \MC - see example below. >> > The \NR before \stopmathcases is missing in all your examples. OK. Though I know it, it is hard to get used to, coming from LaTeX. >> But the spacing is wrong: too much between the

Re: [NTG-context] Math alignment

2015-07-07 Thread Wolfgang Schuster
Hans Aberg 7. Juli 2015 10:30 On 7 Jul 2015, at 04:46, Wolfgang Schuster wrote: The spacing is different in cases - TeX also has such a variation. Specifically, there is extra space before the conditionals. In addition, it seems \startmathcases ... \stopmathcas

Re: [NTG-context] Math alignment

2015-07-07 Thread Hans Aberg
> On 7 Jul 2015, at 04:46, Wolfgang Schuster > wrote: > >> The spacing is different in cases - TeX also has such a variation. >> Specifically, there is extra space before the conditionals. >> >> In addition, it seems \startmathcases ... \stopmathcases is not working with >> UTF-8: in the exa

Re: [NTG-context] Math alignment

2015-07-06 Thread Wolfgang Schuster
Hans Aberg 7. Juli 2015 01:46 [I do not get copies from the list, though having signed up.] The spacing is different in cases - TeX also has such a variation. Specifically, there is extra space before the conditionals. In addition, it seems \startmathcases ... \s

Re: [NTG-context] Math alignment

2015-07-06 Thread Hans Aberg
[I do not get copies from the list, though having signed up.] Wolfgang Schuster wrote: >> On 6 Jul 2015, at 11:24, Hans Aberg wrote: >> >> The example below shows the intended output when using original TeX code >> (compiled with ‘context' of TeX Live 2015): a pair of left braced formulas. >

Re: [NTG-context] Math alignment

2015-07-06 Thread Wolfgang Schuster
Hans Aberg 6. Juli 2015 11:24 The example below shows the intended output when using original TeX code (compiled with ‘context' of TeX Live 2015): a pair of left braced formulas. The first comment shows what works in AMS-LaTeX. However, when trying similar ConTeXt

[NTG-context] Math alignment

2015-07-06 Thread Hans Aberg
The example below shows the intended output when using original TeX code (compiled with ‘context' of TeX Live 2015): a pair of left braced formulas. The first comment shows what works in AMS-LaTeX. However, when trying similar ConTeXt commands, I get the error shown in the comment below. What

Re: [NTG-context] math alignment broken? (was \startmathalignment vertical spacing)

2010-05-19 Thread Taco Hoekwater
Alan BRASLAU wrote: Is \startformula\startalign\stopalign\stopformula broken in context mkiv? After just updating the minimals, I now get (using the example below): See this thread: http://archive.contextgarden.net/message/20100513.211849.e7079712.en.html There will be a new current soon, fi

[NTG-context] math alignment broken? (was \startmathalignment vertical spacing)

2010-05-19 Thread Alan BRASLAU
Is \startformula\startalign\stopalign\stopformula broken in context mkiv? After just updating the minimals, I now get (using the example below): ! Missing $$ inserted. \Ustopdisplaymath \stopdisplaymath ...opinnermath \Ustopdisplaymath

Re: [NTG-context] Math Alignment - start equation at left margin

2009-12-15 Thread Curiouslearn
I had tried using \setupformulas, but it did not work when I posted my question. I suppose it was for the reason you mentioned. I will try it again, once I have downloaded the latest beta. Thanks. On Tue, Dec 15, 2009 at 6:41 AM, Aditya Mahajan wrote: > On Sun, 29 Nov 2009, Curiouslearn wrote: >

Re: [NTG-context] Math Alignment - start equation at left margin

2009-12-15 Thread Hans Hagen
Aditya Mahajan wrote: Hans: we need to either move these definitions from math-ali to strc-mat or remove \let\startinnermath\empty \let\stopinnermath \empty from strc-mat.mkiv ok, removed -

Re: [NTG-context] Math Alignment - start equation at left margin

2009-12-15 Thread Aditya Mahajan
On Sun, 29 Nov 2009, Curiouslearn wrote: Hi, Can someone please help with the alignment of the equation so that it starts at left. I tried flushleft and other options (such as without \NC \NR, with align=left etc.). None of them result in the equation starting at the left margin. The equation i

Re: [NTG-context] Math Alignment - start equation at left margin

2009-11-30 Thread Curiouslearn
Otared, thanks very much for bringing Aditya's article to my attention. The method worked well. On Mon, Nov 30, 2009 at 2:50 AM, Otared Kavian wrote: > Sorry for sending this again: I forgot a closing "}" in  \type{FLalign]…)}… > Hi, > Is this what you want to achieve: > %% begin > \startte

Re: [NTG-context] Math Alignment - start equation at left margin

2009-11-29 Thread Otared Kavian
Sorry for sending this again: I forgot a closing "}" in \type{FLalign]…)}… Hi, Is this what you want to achieve: %% begin \starttext From Aditya's \type{mathalign.pdf}, where he defines in fact a \type{\definemathalignment[flalign]}, (but I prefer \type{FLalign]…)} one has \definemathal

Re: [NTG-context] Math Alignment - start equation at left margin

2009-11-29 Thread Otared Kavian
Hi, Is this what you want to achieve: %% begin \starttext From Aditya's \type{mathalign.pdf}, where he defines in fact a \type{\definemathalignment[flalign]}, (but I prefer \type{FLalign]…) one has \definemathalignment[FLalign] [m=2, distance=5em plus 1 fil] %We need to set a default val

[NTG-context] Math Alignment - start equation at left margin (Bug in latest beta)

2009-11-29 Thread Curiouslearn
Just wanted to mention that I tried to achieve left alignment of single equation using: \setupformulas[align=flushleft] \startformula \text{\bf Example: } \frac{d(4x^{2})}{dx} = 4 \frac{dx^{2}}{dx} = 4 (2x) = 8x.\NC\NR \stopformula But that does not work with the latest be

[NTG-context] Math Alignment - start equation at left margin

2009-11-29 Thread Curiouslearn
Hi, Can someone please help with the alignment of the equation so that it starts at left. I tried flushleft and other options (such as without \NC \NR, with align=left etc.). None of them result in the equation starting at the left margin. The equation is either placed in the middle or is aligned

Re: [NTG-context] Math alignment problem

2009-01-19 Thread Aditya Mahajan
On Tue, 20 Jan 2009, Marcin Borkowski wrote: Dnia Sat, Jan 10, 2009 at 07:14:58PM -0500, Aditya Mahajan napisał(a): On Sat, 10 Jan 2009, Marcin Borkowski wrote: Hi all, I'd like to typeset a system of simultaneous equations. I want it to have a brace on the left (like "cases"), but inside I

Re: [NTG-context] Math alignment problem

2009-01-19 Thread Marcin Borkowski
Dnia Sat, Jan 10, 2009 at 07:14:58PM -0500, Aditya Mahajan napisał(a): > >>On Sat, 10 Jan 2009, Marcin Borkowski wrote: > >> > >>>Hi all, > >>> > >>>I'd like to typeset a system of simultaneous equations. I want it to > >>>have a brace on the left (like "cases"), but inside I want it to have > >>>

Re: [NTG-context] Math alignment problem

2009-01-10 Thread Aditya Mahajan
On Sat, 10 Jan 2009, Marcin Borkowski wrote: Dnia Sat, Jan 10, 2009 at 01:15:28PM -0500, Aditya Mahajan napisał(a): On Sat, 10 Jan 2009, Marcin Borkowski wrote: Hi all, I'd like to typeset a system of simultaneous equations. I want it to have a brace on the left (like "cases"), but inside I

Re: [NTG-context] Math alignment problem

2009-01-10 Thread Marcin Borkowski
Dnia Sat, Jan 10, 2009 at 01:15:28PM -0500, Aditya Mahajan napisał(a): > On Sat, 10 Jan 2009, Marcin Borkowski wrote: > > >Hi all, > > > >I'd like to typeset a system of simultaneous equations. I want it to > >have a brace on the left (like "cases"), but inside I want it to have > >two columns al

Re: [NTG-context] Math alignment problem

2009-01-10 Thread Aditya Mahajan
On Sat, 10 Jan 2009, Marcin Borkowski wrote: Hi all, I'd like to typeset a system of simultaneous equations. I want it to have a brace on the left (like "cases"), but inside I want it to have two columns aligned like "align". Also, I'd like to have the vertical space between the equations be

[NTG-context] Math alignment problem

2009-01-10 Thread Marcin Borkowski
Hi all, I'd like to typeset a system of simultaneous equations. I want it to have a brace on the left (like "cases"), but inside I want it to have two columns aligned like "align". Also, I'd like to have the vertical space between the equations be small (like in cases), not so big as in align.