# [NTG-context] \begin{cases} .. \end{cases} in ConTeXt - Thanks!

Jilani Khaldi jilani.khaldi1 at virgilio.it
Tue Sep 13 17:13:08 CEST 2005

> I should follow my own advice!  As the TeXbook points out, Plain TeX
> has a perfectly good \cases command which is also present in ConTeXt,
> and which you use like this:
>
>   P_{r-j} =
>   \cases{
>        0                 & if $r-j$ is odd,\cr
>        r!(-1)^{(r-j)/2}  & if $r-j$ is even.\cr
>     }
>
> Note that, in this version, the text in the second column is _not_
> enclosed in a \text command; the \cases command handles that
> automatically.
>
Thank you very much. This is just what I need.
jk

--
// Jilani KHALDI
http://jkhaldi.oltrelinux.com