On Mon, 19 Jan 2009, Otared Kavian wrote:
On 19 janv. 09, at 15:38, Aditya Mahajan wrote:
On Mon, 19 Jan 2009, Otared Kavian wrote:
[...]
So my question is: whether one can use \startcases ...\stopcases instead
of \startmatrix ... \stopmatrix in order to obtain the result of the plain
TeX example?
No, but there is not much difference between cases and matrix. Consider:
\definemathmatrix[alignedcase]
[align={right,left,right},distance=3pt,left={\left\{},
right={\right.},style=\displaystyle]
\starttext
\startformula
\startalignedcase
\NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR
\NC {\partial u \over \partial {\bf n} } \NC{} = h(u) \NC \quad\mbox{on }
\partial\Omega \NR
\stopalignedcase
\stopformula
Aditya___________________________________________________________________________________
Thanks Aditya: actually an alternative definition in order to get what I
mentioned in my question is the following:
\starttext
\definemathmatrix[alignedcase]
[align={right,left,left}, % <---- instead of
align={right,left,right}
distance=3pt,
left={\left\{},
right={\right.},
style=\displaystyle]
\startformula
\startalignedcase
\NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR
\NC {\partial u \over \partial {\bf n} } \NC{} = h(u) \NC \quad\mbox{on }
\partial\Omega \NR
\stopalignedcase
\stopformula
\stoptext
Should I add this to the wiki?
Please do.
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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________