[NTG-context] LaTeX array equivalence with multiline \lbrace

Aditya Mahajan adityam at umich.edu
Wed Jan 25 00:37:20 CET 2006


<--- On Jan 24, Renaud AUBIN wrote --->

> With LaTeX, I have
> $$
> \left\lbrace
> \begin{array}{l}
>   \dot{q}_i = 1 \quad\text{ if } i=k \\
>   \dot{q}_i = 0 \quad\text{ else}
> \end{array}
> \right
> $$

Well the ConTeXt way (rather the TeX way) of doing this is to use 
\cases.

$$
  \cases{
   \dot q_i = 1, & \text{ if } i = k \cr
   \dot q_i = 0, & \text{ else } \cr
  }
$$




-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008


More information about the ntg-context mailing list