Re: [NTG-context] mathmatrix and internal lines

2020-11-30 Thread Taco Hoekwater
> On 29 Nov 2020, at 08:48, Otared Kavian wrote: > >> On 26 Nov 2020, at 23:23, Hans Hagen wrote: >> […] >> A bit more code needed but the next upload will have it. Of course you have >> to wikify it. >> >> Hans > > Hi, > I created a page on the wiki: >

Re: [NTG-context] mathmatrix and internal lines

2020-11-29 Thread Otared Kavian
Great! Well done. I'll ask Taco about LMTX on the wiki. Best regards: Otared > On 29 Nov 2020, at 19:59, Jean-Philippe Rey > wrote: > > I added some details and examples to the wiki, however, as you said, they are > not typeset correctly. > >> Le 29 nov. 2020 à 08:48, Otared Kavian >

Re: [NTG-context] mathmatrix and internal lines

2020-11-29 Thread Jean-Philippe Rey
I added some details and examples to the wiki, however, as you said, they are not typeset correctly. > Le 29 nov. 2020 à 08:48, Otared Kavian a écrit : > >> On 26 Nov 2020, at 23:23, Hans Hagen > > wrote: >> […] >> A bit more code needed but the next upload will have

Re: [NTG-context] mathmatrix and internal lines

2020-11-28 Thread Otared Kavian
> On 26 Nov 2020, at 23:23, Hans Hagen wrote: > […] > A bit more code needed but the next upload will have it. Of course you have > to wikify it. > > Hans Hi, I created a page on the wiki: https://wiki.contextgarden.net/Matrix_in_maths

Re: [NTG-context] mathmatrix and internal lines

2020-11-27 Thread Hans Hagen
On 11/27/2020 10:07 AM, Otared Kavian wrote: Hi Hans, Thanks for your insight! Indeed I'll wikify what you explained, once I have tested it with the next upload. Would \HL and \VL be also available in mkiv ? Dunno yet ... it's not that hard but I'm in lmtx mode now. Hans

Re: [NTG-context] mathmatrix and internal lines

2020-11-27 Thread Otared Kavian
Hi Hans, Thanks for your insight! Indeed I'll wikify what you explained, once I have tested it with the next upload. Would \HL and \VL be also available in mkiv ? Best regards: Otared > On 26 Nov 2020, at 23:23, Hans Hagen wrote: > > On 11/26/2020 8:43 PM, Otared Kavian wrote: >> Hi

Re: [NTG-context] mathmatrix and internal lines

2020-11-26 Thread Hans Hagen
On 11/26/2020 8:43 PM, Otared Kavian wrote: Hi Jean-Philippe, A few weeks ago I saw briefly the discussion about Hans' message regarding \noalign and the the new definitions of \HR and \VR that you are sending. Indeed your solution works great ! Just for the case other people may have the

Re: [NTG-context] mathmatrix and internal lines

2020-11-26 Thread Otared Kavian
Hi Jean-Philippe, A few weeks ago I saw briefly the discussion about Hans' message regarding \noalign and the the new definitions of \HR and \VR that you are sending. Indeed your solution works great ! Just for the case other people may have the same question about writing block matrix, I copy

Re: [NTG-context] mathmatrix and internal lines

2020-11-26 Thread Jean-Philippe Rey
Hi Otared, Thank you very much. I used your example to write the following macros. They are far from perfect but suit my needs. A few days ago, Hans warned not to use \noalign in LMTX, so I used the trick he gave to the list even if I don't really understand it. === LMTX version

Re: [NTG-context] mathmatrix and internal lines

2020-11-26 Thread Otared Kavian
Hi Jean-Philippe, The following is better than the one I sent earlier: \definemathmatrix[mymatrix] [left={\left(\,}, right={\ \right)}] \starttext \startformula \startmymatrix \NC A \NC\hskip-.5em \vrule \NC\hskip-.5em B \NR

Re: [NTG-context] mathmatrix and internal lines

2020-11-26 Thread Otared Kavian
Hi Jean-Philippe, For a simple case like the one you sent, a rather not optimal solution can be this: \definemathmatrix[mymatrix] [left={\left(\,}, right={\ \right)}] \starttext \startformula \startmymatrix \NC A \hskip .5em |\hskip-.5em \NC B