Am 25.07.2012 um 11:43 schrieb Hans Hagen: > On 25-7-2012 11:20, dalyoung wrote: >> Dear all, >> >> I made a matrix as follows and I'd like to draw a red frame over the i-th >> row in a matrix. >> >> \startformula >> \startmatrix[left={\left (\,},right={\,\right)}] >> \NC a_{11} \NC a_{12} \NC \dots \NC a_{1n} \NR >> \NC \vdots \NC \vdots \NC \vdots \NC \vdots \NR >> \NC a_{i1} \NC a_{i2} \NC \cdots \NC a_{in} \NR >> \NC \vdots \NC \vdots \NC \ddots \NC \vdots \NR >> \NC a_{m1} \NC a_{m2} \NC \cdots \NC a_{mn} \NR >> \stopmatrix >> \stopformula >> >> But \frame or \inframe is not working inside matrix. >> Is there a way to do that? > > maybe \mframed
He’s looking for \HL and \VL commands like the table below has to frame a complete row in the matrix. \starttext \startformula \startmatrix[left={\left(\,},right={\,\right)}] \NC a_{11} \NC a_{12} \NC \cdots \NC a_{1n} \NR \NC \vdots \NC \vdots \NC \vdots \NC \vdots \NR \noalign{\hrule} \NC a_{i1} \NC a_{i2} \NC \cdots \NC a_{in} \NR \noalign{\hrule} \NC \vdots \NC \vdots \NC \ddots \NC \vdots \NR \NC a_{m1} \NC a_{m2} \NC \cdots \NC a_{mn} \NR \stopmatrix \stopformula \starttable[|*{4}{b{\strut}Mc|}] \NC a_{11} \NC a_{12} \NC \cdots \NC a_{1n} \NC\NR \NC \vdots \NC \vdots \NC \vdots \NC \vdots \NC\NR \HL \VL a_{i1} \NC a_{i2} \NC \cdots \NC a_{in} \VL\NR \HL \NC \vdots \NC \vdots \NC \ddots \NC \vdots \NC\NR \NC a_{m1} \NC a_{m2} \NC \cdots \NC a_{mn} \NC\NR \stoptable \stoptext Wolfgang ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________