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
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
Dear Hans,
Thank you for quick answer and for reminding me \mframed.
\mframed is working if I enclose one term like ... \NC{\mframed[]{x+y}}\NC
...\NC\NR.
But I'd like to enclose the whole row in one frame.
I apply \mframed to every term and get close result except there are gaps
between
I don’t know matrix, but otherwise you’d be better off with TABLEs,
see http://wiki.contextgarden.net/TABLE
Greetlings,
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
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
Dear Otared, Henning Hraban,
Thank you for the reply.
\RedMath works!
To use TABLE may be another solution. I will try soon.
Thank you again.
Best regards,
Dalyoung
___
If your question is of interest to others
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
Dear Wolfgang,
Your both methods work nicely.
And, the table method can be used to frame a column, too.
Thank you.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry