[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 > > line. > Indeed, no need to

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

2024-03-13 Thread Hans Hagen via ntg-context
a a \alignhere= b + c \breakhere \mybar {d + \yourbar{e \alignhere=} f \breakhere g \alignhere \ourbar{=} h} + i \stopformula \stopTEXpage \stoptext Especially when it would not pass the rigourous accessibility check (esp wrt col

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

2024-03-13 Thread Mikael Sundqvist
Hi, On Wed, Mar 13, 2024 at 11:37 AM Max Chernoff wrote: > > Hi Hans, > > On Tue, 2024-03-12 at 15:21 +0100, Hans Hagen wrote: > > the next upload will support the attached ... so no ugly hacky code needed > > "\texthere[inbetween]" looks perfect, thanks! > > The "\definebar[...][inlined]"

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

2024-03-13 Thread Max Chernoff
Hi Hans, On Tue, 2024-03-12 at 15:21 +0100, Hans Hagen wrote: > the next upload will support the attached ... so no ugly hacky code needed "\texthere[inbetween]" looks perfect, thanks! The "\definebar[...][inlined]" doesn't look quite right though -- the issue that I'm having is that I can'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
e 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} = \alignhere bla >

[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] autospacing and colonequals (was Lucida-1.901 (2023-01-21) available)

2023-01-26 Thread Otared Kavian via ntg-context
ake it "consistent", >> there are too many symbols that are at the moment different). But in >> your example you can use \colonequals and \colon if you prefer. They >> are centered around the math axis. >> Best, Mikael >> \setupbodyfont[lucidaot,12pt] >> \star

Re: [NTG-context] Lucida-1.901 (2023-01-21) available

2023-01-26 Thread Hans Hagen via ntg-context
the math axis. Best, Mikael \setupbodyfont[lucidaot,12pt] \starttext \startformula f(x) := -(u|x) \colonequals - \langle u, x \rangle \stopformula \startformula f : A \longrightarrow B \breakhere f \colon A \longrightarrow B \stopformula \startformula \mathaxisbelow := \colonequals : \colon \s

Re: [NTG-context] Lucida-1.901 (2023-01-21) available

2023-01-25 Thread Mikael Sundqvist via ntg-context
example you can use \colonequals and \colon if you prefer. They are centered around the math axis. Best, Mikael \setupbodyfont[lucidaot,12pt] \starttext \startformula f(x) := -(u|x) \colonequals - \langle u, x \rangle \stopformula \startformula f : A \longrightarrow B \breakhere f \co

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