On 22/01/2015 07:16 p.m., Davide P. Cervone wrote:
> Put the \label{} on the line that you want to refer to. E.g.,
>
> \begin{align}
> a = b\\
> c = d\\
> e = f\label{eq1-line3}\\
> g = h\\
> i = j
> \end{align}
>
> would make \ref{eq1-line3} refer to the equation number for the third
> line in the alignment. Since the \label{ref1} in your example is on
> the first line, it refers to the equation number for the first line.
>
> Davide
Thanks. I already know what was the reason I didn't get any display when
I put labels on the equations. I was putting labels in the following
way:
\begin{align}
a = b\\
c = d\\ \label{eq1-line2}
e = f\\ \label{eq1-line3}
g = h\\
i = j
\end{align}
then I didn't get any display with it. I had to put the \\ after the
labels!
Regards,
--
Cesar