http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/ has this note copied below:
amsmath
————-
The environmentsequation
andeqnarray
are not supported too well.
For example, there might be spacing problems (eqnarray
isn't recommended
anyway, see CTAN:info/l2tabu/, the situation forequation
is unclear,
because nobody is interested in investigating). Consider using the
environments that packageamsmath
provide, e.g.gather
forequation
.
The environmentequation
can even redefined to use gather:\usepackage{amsmath} \let\equation\gather \let\endequation\endgather`
However, gather
and equation
environment have the spacing difference as in the answer by Will in align vs equation. Thus my question:
In a document using both hyperref and amsmath, what is the best replacement for equation
?
Best Answer
You can see a spacing problem with the following example. The two equations have different spacing with hyperref, but the same spacing (as they should) without it:
But this problem is imo not enough to stop using the equation environment. The other math environments produce too much space if the sentence before the displayed math is short:
which is a much more common problem.