ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: Cannot use array in the formula?
Date: Tue, 24 May 2005 18:11:19 +0200	[thread overview]
Message-ID: <6faad9f00505240911276d392e@mail.gmail.com> (raw)
In-Reply-To: <BAY12-F2196AF339FE7D2AD1D8493A30D0@phx.gbl>

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

On 5/24/05, 龙 飞 <longf77@hotmail.com> 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}."

\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

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

      parent reply	other threads:[~2005-05-24 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-24  1:58 龙 飞
2005-05-24  7:09 ` Sytse Knypstra
2005-05-24 16:11 ` Mojca Miklavec [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00505240911276d392e@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).