[NTG-context] Referencing an align environment

2006-01-20 Thread David Arnold

All,

I tried:

\placeformula[eq:twosolve]
\startformula
  \startalign[m=3]
3-2x-1 \qor 3-2x1\\
 -2x-4   -2x-2\\
   x2  x1
  \stopalign
\stopformula

As we see in (\in[eq;twosolve]), ...

But that didn't work.

Suggestions?
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Referencing an align environment

2006-01-20 Thread Aditya Mahajan

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


\placeformula[eq:twosolve]
\startformula
 \startalign[m=3]
   3-2x-1 \qor 3-2x1\\
-2x-4   -2x-2\\
  x2  x1
 \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@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Referencing an align environment

2006-01-20 Thread David Arnold

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-2x1\\
-2x-4   -2x-2\\
  x2  x1
 \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@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Referencing an align environment

2006-01-20 Thread Aditya Mahajan

--- 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-2x1\\
   -2x-4   -2x-2\\
 x2  x1
\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@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


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