From: Mikael Persson <[EMAIL PROTECTED]>
Subject: [NTG-context] How to do math in ConTeXt?
Date: Wed, 29 Jan 2003 19:06:07 +0100
> Hi everyone!
>
> I appologise if this question is answered before.
>
> I was trying to do some math in ConTeXt today, but failed. What I wanted
> to do was something similar to the \begin{cases}\end{cases} thing in
> LaTeX (amsmath?). For the non-LaTeX-math-users, its something like this:
>
> f(x)=
> \begin{cases}
> 0 & \text{if}\ x<0\\
> 1 & \text{if}\ x\geq 0
> \end{cases}
\placeformula[-]
\startformula
f(x) = \cases{0 & $x < 0$\cr 1 & $x \geq 0$\cr}
\stopformula
>
> and one gets something like this:
>
> / 0 if x<0
> f(x) = <
> \ 1 if x>=0
>
Marko
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context