[NTG-context] Vertical lines in matrices

Weber, Matthias matweber at indiana.edu
Tue May 5 00:56:30 CEST 2020


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 at 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 at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list