Re: [NTG-context] \startcases...\stopcases alignment

2010-09-28 Thread Martin 'golodhrim' Scholz
On Mon, 27 Sep 2010 21:07:18 -0400, Aditya Mahajan wrote:

 On Tue, 28 Sep 2010, Martin 'golodhrim' Scholz wrote:
 
 Hi everyone,

 I've got one big question,

 if I type something like

 \startcases
 \NC A \NC B\NR
 \NC C \NC D
 \stopcases

 Both the A and B are left justified and I would like to have them
 horizontally centered above the C and D. Is there a way to do
 so without a matrix usage or is for that the matrix the only
 solution...
 
 Currently, mathcases do not accept an align key. So matrix is the only
 solution.
 
 \definemathmatrix
 [cases]
 [align=middle, left=\left\{\, right=\right.]
 
 should work.
 
 Aditya
 

Thanks for the fast help Aditya.

-- 
Martin 'golodhrim' Scholz
Auf dem Sattler 4
34516 Ederbringhausen
Germany
Phone: +49 6454 799623
mobile: +49 176 63301749
Fax: +49 6454 7990138
e-Mail: scholz@googlemail.com

What an artist dies with me!
-- Nero

___
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
___


[NTG-context] \startcases...\stopcases alignment

2010-09-27 Thread Martin 'golodhrim' Scholz
Hi everyone,

I've got one big question,

if I type something like

\startcases
\NC A \NC B\NR
\NC C \NC D
\stopcases

Both the A and B are left justified and I would like to have them 
horizontally centered above the C and D. Is there a way to do so 
without a matrix usage or is for that the matrix the only solution...

Greetings
-- 
Martin 'golodhrim' Scholz
Auf dem Sattler 4
34516 Ederbringhausen
Germany
Phone: +49 6454 799623
mobile: +49 176 63301749
Fax: +49 6454 7990138
e-Mail: scholz@googlemail.com

I think we're in trouble.
-- Han Solo

___
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
___


Re: [NTG-context] \startcases...\stopcases alignment

2010-09-27 Thread Aditya Mahajan

On Tue, 28 Sep 2010, Martin 'golodhrim' Scholz wrote:


Hi everyone,

I've got one big question,

if I type something like

\startcases
\NC A \NC B\NR
\NC C \NC D
\stopcases

Both the A and B are left justified and I would like to have them
horizontally centered above the C and D. Is there a way to do so
without a matrix usage or is for that the matrix the only solution...


Currently, mathcases do not accept an align key. So matrix is the only 
solution.


\definemathmatrix
   [cases]
   [align=middle, left=\left\{\, right=\right.]

should work.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___