[NTG-context] Referencing an align environment

Aditya Mahajan adityam at umich.edu
Sat Jan 21 08:13:29 CET 2006


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

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

I do not understand how would you want the output to look like?

  a = b  (1)
  c = d  (2)
  e = f  (3)

As seen in (1),(2) and (3).

Maybe ask Hans for a feature request :-)

Aditya

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

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


More information about the ntg-context mailing list