[NTG-context] Referencing an align environment

David Arnold dwarnold45 at cox.net
Sat Jan 21 07:40:35 CET 2006


Aditya,

I want to reference the whole block, not any one equation.

Thanks.

On Jan 20, 2006, at 10:32 PM, Aditya Mahajan wrote:

> <--- 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
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context



More information about the ntg-context mailing list