I want to be able to refer to an equation in an align* environment using a hyperlink, but in labeling the equation, I don't want there to be a visible tag.
The following code is almost what I want:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
x \tag{x}\label{x}
\end{align}
test: \ref{x}
\end{document}
but I don't want the '(x)' tag to be visible.
Is there an easy way to remove this with align*, or do I need to use a different environment?
\hypertarget; see https://tex.stackexchange.com/q/168832 for ideas. (Whether embedding a\hypertargetin display math will work, I can't say; never tried it.) – barbara beeton Aug 30 '20 at 03:07\labelto\hypertargetfixed my problem, thank you! I'll leave this question open just in case someone knows the answer to it as originally stated. – rish987 Aug 30 '20 at 04:10alignor `align* (or any other environment meant for a multi-line display) shouldn't be used for a one-line display. The spacing above and below is measured differently. – barbara beeton Aug 30 '20 at 13:51