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 below? \startformula\startalign \NC A \NC = 3 \NR \NC B \NC = 5 \NR \stopalign\stopformula Thank you. Best regards, Dalyoung
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 is a way to use “\alignhere, \breakhere, \skiphere” for the case below?
\startformula\startalign \NC A \NC = 3 \NR \NC B \NC = 5 \NR \stopalign\stopformula
The way I see it is that the current implementation is that it is way to break a _single_ long equation to multiple lines. For multiple equations, you still need to use the \startalign method. Aditya
On Fri, Sep 23, 2022 at 8:46 PM 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 is a way to use “\alignhere, \breakhere, \skiphere” for the case below?
\startformula\startalign \NC A \NC = 3 \NR \NC B \NC = 5 \NR \stopalign\stopformula
The way I see it is that the current implementation is that it is way to break a _single_ long equation to multiple lines. For multiple equations, you still need to use the \startalign method.
Indeed, that is the case. These formulas are done for single chain equations. The example given above consists of two formulas, and the new broken formula type simply does not fit. You can play with more than one \alignhere, but they will only set new align points. I think \startalign ... \stopalign is the way to go there. If it is cumbersome to type all the \NC and \NR one could in principle thing of similar input as for the simple matrices. Your example then would become \startalign A, = 3; B, = 5; \stopalign /Mikael
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
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 of the previous one .. Mikael can add it to our todo
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
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
Thank you for your concern. When we write two long formula, I think that to use "\alignhere, \breakhere" is a little bit simpler than use \NC\NR. We may write them to use \startformula…\stopformula twice separetely. But, then the alignment of two formulas may be different because formula’s alignment is midaligned. Thanks again to add it todo list. Best regards, Dalyoung
participants (5)
-
Aditya Mahajan
-
Hans Hagen
-
Jeong Dal
-
Jeong Dal
-
Mikael Sundqvist