I am interested in linking to an equation - but being able to change the text.
I had thought I could combine this answer and this answer, but I cannot seem to get it to work.
I have attempted a variety of syntaxes similar to
\hyperref[eq:name]{my text describing the equation here}
but I cannot seem to get it to work.
This is the code I am currently using (well my equation is considerably more complicated but I have the same problem here)
\begin{align*}
y = x\label{testp}
\end{align*}
\hyperref[testp]{generalized form}
I get the following warning
LaTeX Warning: Hyper reference `testp' on page 4 undefined on input line 108.
