ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Referencing an align environment
Date: Sat, 21 Jan 2006 01:32:40 -0500 (EST)	[thread overview]
Message-ID: <Pine.WNT.4.63.0601210123300.4092@nqvgln> (raw)
In-Reply-To: <A9C19065-AFBB-4E9D-AFAE-2AD4B223E07C@cox.net>

<--- On Jan 20, David Arnold wrote --->

> \placeformula[eq:twosolve]
> \startformula
>  \startalign[m=3]
>    3-2x&>-1 &&\qor& 3-2x&<1\\
>     -2x&>-4 &&&      -2x&<-2\\
>       x&<2  &&&        x&>1
>  \stopalign
> \stopformula
>
> As we see in (\in[eq;twosolve]), ...
>
> But that didn't work.

There are three equations, which one do you want to refer using 
eq:twosolve? You need to refer each equation explicitly. Something 
like
\placeformula \startformula \startalign[m=3]
  \NC 3 -2x \NC> -1 \NC\NC \qor \NC 3-2x \NC 1 \NR[eq:twosolve]
  \NC -2x \NC -4 \NC\NC\NC -2x \NC< -2 \NR
\stopalign \stopformula

Also note that if you use ams style &.. \\ you need to put \\ on the 
last one also.

Aditya
-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

  reply	other threads:[~2006-01-21  6:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-21  5:57 David Arnold
2006-01-21  6:32 ` Aditya Mahajan [this message]
2006-01-21  6:40   ` David Arnold
2006-01-21  7:13     ` Aditya Mahajan

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=Pine.WNT.4.63.0601210123300.4092@nqvgln \
    --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).