[NTG-context] Augmented matrix?

2011-04-18 Thread Alasdair McAndrew
How can I typeset an augmented matrix, that is, a matrix where some columns
are separated by a vertical line?  "\VL" doesn't seem to work within a
formula.

Thanks very much!

cheers,
Alasdair

-- 
Blog: http://amca01.wordpress.com
Web:  http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew
___
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] Augmented Matrix

2010-12-23 Thread Paul Dostert
I'm trying to make a simple Augmented matrix using \startmathmatrix
and cannot seem to get \VL working correctly. I'd assume to do an
augmented matrix I'd do:

\startformula
\left[
\startmathmatrix[n=4]
1 \NC 1 \NC 1 \VL 1\NR
0 \NC 1 \NC -1 \VL 2\NR
0 \NC 0 \NC 2 \VL 8
\stopmathmatrix
\right]
\stopformula

but I get an undefined control sequence. If it were LaTex, I'd do:

$$
\left[
\begin{array}{ccc|c}
1 & 1 & 1 & 1\\
0 & 1 & -1 & 2\\
0 & 0 & 2 & 8
\end{array}
\right]
$$

Any suggestions?

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