Cannot use array in the formula?
I try to use: \startformula \left\{ \begin{array}{r@=l} xx & yy \\ zz & aa \end{array} \right. \stopformula But Context log says "Undefined control sequence \begin{array}." How can I input multi-line equation in ConTeXt? Thanks _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn
You can use \TeX commands such as \matrix, \pmatrix, \cases, \eqalign. Sytse Knypstra 龙 飞 wrote:
I try to use: \startformula \left\{ \begin{array}{r@=l} xx & yy \\ zz & aa \end{array} \right. \stopformula But Context log says "Undefined control sequence \begin{array}." How can I input multi-line equation in ConTeXt? Thanks
_________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
On 5/24/05, 龙 飞
I try to use: \startformula \left\{ \begin{array}{r@=l} xx & yy \\ zz & aa \end{array} \right. \stopformula But Context log says "Undefined control sequence \begin{array}."
\begin{array} comes from LaTeX.
How can I input multi-line equation in ConTeXt? Thanks
You can use \matrix from plain TeX: \startformula \left\{\matrix{ xx & yy \cr zz & aa} \right. \stopformula I'm not sure if there's any mechanism for automatic (right/left) alignment. I use \hfill if necessary. (xx\hfill yy\hfill \cr ...) Mojca
participants (3)
-
Mojca Miklavec
-
Sytse Knypstra
-
龙 飞