[OS X TeX] Label problems

George Gratzer gratzer at me.com
Sat Dec 20 00:05:36 CET 2008


You should also rethink using eqnarray.

GG

On 19-Dec-08, at 4:56 PM, Vic Norton wrote:

> Sorry to waste your time. I have discovered the problem. Duhhhh...
>
> I had copied and pasted the \begin{array} stuff further down in the  
> file with \label{mult1} intact. As a consequence the mult1 label was  
> being reset.
>
> Regards,
>
> Vic
>
> On Dec 19, 2008, at 5:26 PM, Vic Norton wrote:
>
>> I am going crazy trying to figure out a label problem. Here is a  
>> snippet of my code.
>>
>>  \begin{eqnarray}
>>    \label{mult1}
>>    A^T_J \mathbf{f}_p & = & \mathbf{b}_J\lambda,\hspace*{26ex}\\
>>    \label{mult2}
>>    A^T_K \mathbf{f}_p & \ge & \mathbf{b}_K\lambda,
>>  \end{eqnarray}
>>  where
>>  $\mathbf{f}_p = F\mathbf{p} = \mathbf{f}_{j_0} + A_J\mathbf{p}_J$.
>>  (If $n_J = 0$ then we think of \eqref{mult1} as holding vacuously.)
>>
>> The two equations are always numbered correctly in the output.  
>> Let's say the numbers are
>>   eqn1 (1)
>>   eqn2 (2)
>> But the reference in "we think of \eqref{mult1}" often comes out as  
>> "we think of (3)" This (3) should be (1) to my way of thinking.
>>
>> Does anyone have an idea of what my problem is?
>>
>> Regards,
>>
>> Vic
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>




More information about the macostex-archives mailing list