* Re: Vertical lines in matrices [not found] <mailman.61.1588542429.6418.ntg-context@ntg.nl> @ 2020-05-04 8:25 ` Jeong Dal 2020-05-04 11:02 ` Weber, Matthias 0 siblings, 1 reply; 5+ messages in thread From: Jeong Dal @ 2020-05-04 8:25 UTC (permalink / raw) To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl [-- Attachment #1.1: Type: text/plain, Size: 1055 bytes --] Dear Weber Mattias, Please see page 10 of “mathalign.pdf” made by Aditya. He showed the way of writing aligned math including matrices. For example, \startformula \startmatrix[left={\left(\,},right={\,\right)}] \NC 1 \NC 0 \NC 0 \NR \NC 0 \NC 1 \NC 0 \NR \NC 0 \NC 0 \NC 1 \NR \stopmatrix \stopformula There are many other examples that you can use. Best regards, Dalyoung > Message: 2 > Date: Sun, 3 May 2020 17:47:24 +0000 > From: "Weber, Matthias" <matweber@indiana.edu> > To: mailing list for ConTeXt users <ntg-context@ntg.nl> > Subject: [NTG-context] Vertical lines in matrices > Message-ID: <C8902576-CF86-4967-8A1B-DFF66615DA37@indiana.edu> > Content-Type: text/plain; charset="utf-8" > > Dear List, > > I am trying to get vertical (separating) lines into matrices, as is possible in tables: > > \starttext > \startformula > \left( > \starttable[|c|c|c|] > \NC 0 \NC 0\VL 0 \FR > \NC 1 \NC 0\VL 1 \FR > \stoptable > \right) > \stopformula > \stoptext > [-- Attachment #1.2: Type: text/html, Size: 2763 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Vertical lines in matrices 2020-05-04 8:25 ` Vertical lines in matrices Jeong Dal @ 2020-05-04 11:02 ` Weber, Matthias 2020-05-04 17:00 ` Aditya Mahajan 0 siblings, 1 reply; 5+ messages in thread From: Weber, Matthias @ 2020-05-04 11:02 UTC (permalink / raw) To: mailing list for ConTeXt users Thanks Jeong, I was aware of this. While there is no solution that adds vertical lines into matrices, one can juxtapose two (or more) of them with properly chosen delimiters, like so: \definemathmatrix [bvmatrix] [left={\left(\,},right={\ \right\vert}] \definemathmatrix [rbmatrix] [left={\left.\,},right={\,\right)}] \starttext \startformula \startbvmatrix \NC 0 \NC 0\NC 0 \NR \NC 1 \NC 0\NC 1 \NR \stopbvmatrix \startrbmatrix \NC 0 \NR \NC 1 \NR \stoprbmatrix \stopformula \stoptext > On May 4, 2020, at 04:25, Jeong Dal <haksan@me.com> wrote: > > Dear Weber Mattias, > > Please see page 10 of “mathalign.pdf” made by Aditya. > He showed the way of writing aligned math including matrices. > For example, > > \startformula > > \startmatrix[left={\left(\,},right={\,\right)}] > > \NC 1 \NC 0 \NC 0 \NR > \NC 0 \NC 1 \NC 0 \NR > \NC 0 \NC 0 \NC 1 \NR > > \stopmatrix > \stopformula > There are many other examples that you can use. > > Best regards, > Dalyoung > >> Message: 2 >> Date: Sun, 3 May 2020 17:47:24 +0000 >> From: "Weber, Matthias" <matweber@indiana.edu> >> To: mailing list for ConTeXt users <ntg-context@ntg.nl> >> Subject: [NTG-context] Vertical lines in matrices >> Message-ID: <C8902576-CF86-4967-8A1B-DFF66615DA37@indiana.edu> >> Content-Type: text/plain; charset="utf-8" >> >> Dear List, >> >> I am trying to get vertical (separating) lines into matrices, as is possible in tables: >> >> \starttext >> \startformula >> \left( >> \starttable[|c|c|c|] >> \NC 0 \NC 0\VL 0 \FR >> \NC 1 \NC 0\VL 1 \FR >> \stoptable >> \right) >> \stopformula >> \stoptext >> > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Vertical lines in matrices 2020-05-04 11:02 ` Weber, Matthias @ 2020-05-04 17:00 ` Aditya Mahajan 2020-05-04 22:56 ` Weber, Matthias 0 siblings, 1 reply; 5+ messages in thread From: Aditya Mahajan @ 2020-05-04 17:00 UTC (permalink / raw) To: mailing list for ConTeXt users On Mon, 4 May 2020, Weber, Matthias wrote: > I was aware of this. While there is no solution that adds vertical lines into matrices, It should not be too difficult to support "proper" vertical and horizontal lines. It should be possible to just add solid lines relatively easily. With dashed and other forms of lines, it is more a question of finding the right user-interface than anything else. Can you give more details of the features and visual output that you are looking for? Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Vertical lines in matrices 2020-05-04 17:00 ` Aditya Mahajan @ 2020-05-04 22:56 ` Weber, Matthias 0 siblings, 0 replies; 5+ messages in thread From: Weber, Matthias @ 2020-05-04 22:56 UTC (permalink / raw) To: mailing list for ConTeXt users Hi Aditya, Ideally I would like to be able to typeset blocks in block matrices visually separated, as for instance is done in https://tex.stackexchange.com/questions/23853/specific-blockmatrices/23857 My current solution for just vertical lines below has the drawback that it uses the standard delimiter \vert for the vertical line(s), which is too thick for my taste. Thanks, Matthias \definemathmatrix [bvmatrix] [left={\left(\,},right={\ \right|}] \definemathmatrix [rbmatrix] [left={\left.\,},right={\,\right)}] \starttext \startformula \startbvmatrix \NC 0 \NC 0\NC 0 \NR \NC 1 \NC 0\NC 1 \NR \HL \NC 1 \NC 0\NC 1 \NR \stopbvmatrix \startrbmatrix \NC 0 \NR \NC 1 \NR \HL \NC 1 \NR \stoprbmatrix \stopformula \stoptext > On May 4, 2020, at 13:00, Aditya Mahajan <adityam@umich.edu> wrote: > > On Mon, 4 May 2020, Weber, Matthias wrote: > >> I was aware of this. While there is no solution that adds vertical lines into matrices, > > It should not be too difficult to support "proper" vertical and horizontal lines. It should be possible to just add solid lines relatively easily. With dashed and other forms of lines, it is more a question of finding the right user-interface than anything else. > > Can you give more details of the features and visual output that you are looking for? > > Aditya > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Vertical lines in matrices @ 2020-05-03 17:47 Weber, Matthias 0 siblings, 0 replies; 5+ messages in thread From: Weber, Matthias @ 2020-05-03 17:47 UTC (permalink / raw) To: mailing list for ConTeXt users Dear List, I am trying to get vertical (separating) lines into matrices, as is possible in tables: \starttext \startformula \left( \starttable[|c|c|c|] \NC 0 \NC 0\VL 0 \FR \NC 1 \NC 0\VL 1 \FR \stoptable \right) \stopformula \stoptext But my parentheses don’t fit, and I am not sure whether using tables in math mode is the proper way of doing things. \startmatrix seems to ignore a \VL. Any. suggestions? Thanks, Matthias ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-04 22:56 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.61.1588542429.6418.ntg-context@ntg.nl> 2020-05-04 8:25 ` Vertical lines in matrices Jeong Dal 2020-05-04 11:02 ` Weber, Matthias 2020-05-04 17:00 ` Aditya Mahajan 2020-05-04 22:56 ` Weber, Matthias 2020-05-03 17:47 Weber, Matthias
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).