The following LaTeX document:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
E=mc^2 \\ \nonumber
E=mc^2 \label{eq1}
\end{align}
ref \ref{eq1}
\end{document}
Does not display the reference \ref{eq1}. Why?
|
The following LaTeX document:
Does not display the reference |
||||
|
|
|
The
In the above case the equation number is placed in the second row. If you want it in the first then place the |
|||
|
|
|
use it this way:
Set |
|||
|
|