* Referencing an align environment
@ 2006-01-21 5:57 David Arnold
2006-01-21 6:32 ` Aditya Mahajan
0 siblings, 1 reply; 4+ messages in thread
From: David Arnold @ 2006-01-21 5:57 UTC (permalink / raw)
All,
I tried:
\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.
Suggestions?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Referencing an align environment
2006-01-21 5:57 Referencing an align environment David Arnold
@ 2006-01-21 6:32 ` Aditya Mahajan
2006-01-21 6:40 ` David Arnold
0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2006-01-21 6:32 UTC (permalink / raw)
<--- 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Referencing an align environment
2006-01-21 6:32 ` Aditya Mahajan
@ 2006-01-21 6:40 ` David Arnold
2006-01-21 7:13 ` Aditya Mahajan
0 siblings, 1 reply; 4+ messages in thread
From: David Arnold @ 2006-01-21 6:40 UTC (permalink / raw)
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@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Referencing an align environment
2006-01-21 6:40 ` David Arnold
@ 2006-01-21 7:13 ` Aditya Mahajan
0 siblings, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2006-01-21 7:13 UTC (permalink / raw)
<--- 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@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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-21 7:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-21 5:57 Referencing an align environment David Arnold
2006-01-21 6:32 ` Aditya Mahajan
2006-01-21 6:40 ` David Arnold
2006-01-21 7:13 ` Aditya Mahajan
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).