Hi Dalyoung, Is this what you want: \setupcolors[state=start] \def\RedMath{\mframed[frame=on, framecolor=red, offset=2pt, % background=color, % backgroundcolor=lightred, % backgroundoffset=2pt ]} \starttext \startformula \startmatrix[left={\left (\,},right={\,\right)}] \NC\startmatrix[left=,right=,] \NC a_{11} \NC a_{12} \NC \dots \NC a_{1n} \NR \NC \vdots \NC \vdots \NC \vdots \NC \vdots \NR \stopmatrix\NR \NC\RedMath{\startmatrix[left=,right=,] \NC a_{i1} \NC a_{i2} \NC \cdots \NC a_{in} \NR \stopmatrix}\NR \NC\startmatrix[left=,right=,] \NC \vdots \NC \vdots \NC \ddots \NC \vdots \NR \NC a_{m1} \NC a_{m2} \NC \cdots \NC a_{mn} \NR \stopmatrix\NR \stopmatrix \stopformula \stoptext Best regards: OK On 25 juil. 2012, at 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?
Thank you.
Best regards,
Dalyoung ___________________________________________________________________________________ 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 ___________________________________________________________________________________