This is a problem concerning \IEEEeqnarray
, \IEEEyessubnumber
, and \eqref
in combination with hyperref.sty
.
\documentclass{article}
\usepackage{amsmath}
\usepackage{IEEEtrantools}
\usepackage{hyperref}
\begin{document}
page1\newpage
\phantomsection\begin{IEEEeqnarray}{rCl}
\IEEEyesnumber\label{eqn} \IEEEyessubnumber*
a &=&b \label{subeqn}\\
&=&c
\end{IEEEeqnarray}
clicking \eqref{subeqn} sends me to the correct position :)\\
clicking \eqref{eqn} sends me to the beginning of the document :(
\end{document}
Problem
Clicking on (1) sends me to the beginning of the document, instead of to Equation (1).
Related questions
"IEEEeqnarray vs. hyperref -> reference jumps to the beginning of the section
"
I think it is not a duplicate as the solution therein, namely adding \phantomsection
as in the MWE, has no effect.
Additional Information
I use IEEEtrantools 2015/08/26 V1.5 by Michael Shell.
IEEEeqnarray
, that you use it? you loadamsmath
and with it you can usealign
insidesubequations
and all will work as expected ... – Zarko Aug 20 '18 at 13:41amsmath
environments are superior to result of theIEEEeqnarray
. however, with way as i suggested you before, links will work as expected. – Zarko Aug 20 '18 at 14:04\hspace
which (I quote) "will never yield a precise arrangement" simply means the author does not know how to usealign
. – campa Aug 20 '18 at 14:30IEEE
. It seems a valid alternative. But all alleged flaws ofamsmath
are just ignorance of the author. Which syntax is more convenient might well be a matter of taste. – campa Aug 21 '18 at 18:58