[NTG-context] Matrices LaTeX -> ContTeXt

Brooks Moses bmoses at stanford.edu
Mon Sep 12 18:36:44 CEST 2005


At 01:40 AM 9/12/2005, Jilani Khaldi wrote:
>Hi All,
>how tow write these matrices in Context?
>
>% []
>\begin{bmatrix}
>1&2\\
>3&4
>\end{bmatrix}

ConTeXt uses Plain TeX syntax for math, mostly.  Thus, you use Plain TeX's 
\matrix command to create the matrices:

\left[\matrix{
   1&2 \cr
   2&4 \cr
}\right]

>% {}
>\begin{Bmatrix}
>1&2\\
>3&4
>\end{Bmatrix}

\left\lbrace\matrix{
   1&2 \cr
   3&4 \cr
}\right\rbrace

Hope that helps,
- Brooks



More information about the ntg-context mailing list