ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: about \startformula\startalign error
Date: Sun, 22 Jul 2012 09:59:13 -0400	[thread overview]
Message-ID: <55BBF81D-D1D8-408D-8304-A6994240852E@umich.edu> (raw)
In-Reply-To: <9F757B9D-8D39-4A59-B96E-690022016D1E@me.com>

On 2012-07-22, at 8:21 AM, dalyoung <haksan@me.com> wrote:

> Dear all,
> 
> In the following sample file, an error occurs in \startformula\startalign ... \stopalign\stopformula.
> The similar error occurs if I use \startformula\startmathcases.
> 
> but \startmatrix works well. 
> 
> Did I do something wrong? 
> 
> Thank you for reading.
> 
> Best regards,
> 
> Dalyoung
> 
> %%%%%%%%%%%%%%
> \starttext
> \starttable[|c|c|w4cm|w4cm|]
> \HL
> \NC A \VL B \VL C \VL D \NC\SR
> \HL
> \NC $x$ \VL \startmatrix
> \NC x' = \NC \NR
> \NC y' = \NC \NR
> \stopmatrix \VL \VL \NC\FR
> \HL
> \NC $y$ \VL \startformula\startalign
> \NC x' = \NC \NR
> \NC y' = \NC \NR
> \stopalign\stopformula \VL \VL \NC\LR
> \HL
> \stoptable
> \stoptext
> %%%%%%%%%%%

\startformula must occur inside a vbox. So, use a matrix environment as you are doing, or wrap the formula inside a \framed[align=normal].

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2012-07-22 13:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-22 12:21 dalyoung
2012-07-22 13:59 ` Aditya Mahajan [this message]
     [not found] <mailman.91.1342972474.2216.ntg-context@ntg.nl>
2012-07-22 22:21 ` dalyoung
2012-07-23  1:30   ` Aditya Mahajan
     [not found] <mailman.103.1343035435.2216.ntg-context@ntg.nl>
2012-07-23 22:55 ` dalyoung

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=55BBF81D-D1D8-408D-8304-A6994240852E@umich.edu \
    --to=adityam@umich.edu \
    --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).