[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Max Chernoff
Hi Hans, Mikael, On Wed, 2024-03-13 at 13:06 +0100, Hans Hagen wrote: > On 3/13/2024 12:26 PM, Mikael Sundqvist wrote: > > I can confirm that it works over \alignhere. Hans is doing some black > > magic, but I guess he did not want to show off by including the whole > > li

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Hans Hagen via ntg-context
ct, thanks! The "\definebar[...][inlined]" doesn't look quite right though -- the issue that I'm having is that I can't figure out how to highlight across both sides of an \alignhere without any questionable hacks. Unless the new "inlined" does work across an \alignhere and I'm jus

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Mikael Sundqvist
! > > The "\definebar[...][inlined]" doesn't look quite right though -- the > issue that I'm having is that I can't figure out how to highlight across > both sides of an \alignhere without any questionable hacks. Unless the > new "inlined" does work across an \alignhere an

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Max Chernoff
having is that I can't figure out how to highlight across both sides of an \alignhere without any questionable hacks. Unless the new "inlined" does work across an \alignhere and I'm just not seeing it in t

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Hans Hagen
On 3/12/2024 8:57 AM, Max Chernoff wrote: Hi all, Often I want to include a sentence/paragraph in the middle of a long multipart formula. With the old \startalign/\stopalign formulas, I could use \intertext{...} to do this, but this doesn't work with the new \alignhere/\breakhere formulas. I've

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Hans Hagen
On 3/12/2024 8:57 AM, Max Chernoff wrote: Hi all, Often I want to include a sentence/paragraph in the middle of a long multipart formula. With the old \startalign/\stopalign formulas, I could use \intertext{...} to do this, but this doesn't work with the new \alignhere/\breakhere formulas. I've

[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
Hi all, Often I want to include a sentence/paragraph in the middle of a long multipart formula. With the old \startalign/\stopalign formulas, I could use \intertext{...} to do this, but this doesn't work with the new \alignhere/\breakhere formulas. I've managed to find a "sol

[NTG-context] Re: split align in formulas

2023-08-14 Thread Mikael Sundqvist
d nothing. No, align does not split over pages. But ordinary formulas do. You can play with \alignhere and \breakhere, and add text with \texthere[right]{some text} or \texthere[left]{some other text}. /Mikael (I thin

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Gerion Entrup
t; > \stopalign \NR > > \NC somelong = \NC bla \NR > > \stopalign > > \stopformula > > \stoptext > > ``` > > Am I doing something wrong or are nested aligns not possible? > it will work if you configur

[NTG-context] Re: Nested aligns in formulasjj

2023-08-14 Thread Hans Hagen
? it will work if you configure the inner align to be tight (i delegate that answer) \startformula a = \alignhere (b, c) \quad \text{with} \breakhere b = \text{something} \breakhere c = \text{someother} \breakhere \text{somelong

Re: [NTG-context] Math alignment question

2022-09-24 Thread Jeong Dal via ntg-context
l 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 formul

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

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.p

[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

Re: [NTG-context] underbrace under matrix

2022-08-04 Thread Mikael Sundqvist via ntg-context
-] \startformula \startalign \NC A \NC = \underbrace{\pmatrix{5,5;-1,7}}_{B} \NR \NC\NC = \underbrace{\pmatrix{2,1;4,2}}_{C} \NR \stopalign \stopformula % \placeformula[-] \startformula A \alignhere= \underbrace{\pmatrix{5,5;-1,7}}_{B} \breakhere = \underbrace{\pmatrix{2,1;4,2}}_{C} \sto

Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-07-29 Thread Jeong Dal via ntg-context
Dear Hans, Thank you for the new way to align math formulas. It is great to use “\alignhere”, “\breakhere”. However, I got a problem today. If I use it with figures side by side, then the alignment is broken. Please try the following MWE. Best regards, Dalyoung \setupexternalfigures

Re: [NTG-context] next beta

2017-06-14 Thread Hans Hagen
equations would be much easier and faster. attached what will be provided ... experimental for a while (not in the mood now for harder stuff) That looks really good! Will it be possible to combine that with \startmathalignment? And if not can you pass several \alignhere commands and force breakin

Re: [NTG-context] next beta

2017-06-14 Thread Mathias Schickel
hing fits. If you could mark >> certain lines of an equation to be allowed to be broken at the end of a >> page, working with multiple line equations would be much easier and faster. > attached what will be provided ... experimental for a while (not in the mood > now for harder st

Re: [NTG-context] next beta

2017-06-13 Thread Hans Hagen
foo = \alignhere bar + bar + bar gnu + gnu and such. - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma