I am sure that this has been asked before, but I don't seem to be able to find the answer.
I need to make a reference to a page. That is, I would like to use \pageref{}
. I specifically need to make a reference to an equation that is in \begin{align*} \end{\align}
.
When I insert a \label
in the align*
I get an error. How can I do this?
So I want to do something like this
\documentclass[12pt]{report}
...
Texts
\begin{align*}
e = mc^2\label{eqn}
\end{align*}
...
Text the equation on page \pageref{eqn} is ...
I need to make a page reference to the page that contains E=mc^2
.
align*
is intended to not have equation numbers. That is exactly the difference betweenalign*
andalign
. So, usealign
instead, and use\nonumber
for those equations that you don't want an equation number.\label
an equation? I suggest that instead of describing the problem, you compose a fully compilable MWE including\documentclass
and the appropriate packages that sets up the problem. That way those trying to help can focus on the solution as opposed to setting up the problem test case, and also makes it clear exactly what the problem is.\end{align}
should havealign*
, and instead of\ref
you (said you) want\pageref
.