[NTG-context] Referencing an align environment
Aditya Mahajan
adityam at umich.edu
Sat Jan 21 07:32:40 CET 2006
<--- 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
More information about the ntg-context
mailing list