admin管理员组文章数量:1635850
Using Hyperref, Graphicx, and Algorithm together | Shawn Lankton Online
In LaTeX, the
hyperref
package can be challenging to work with. It is well known that thehyperref
package must be loaded last, BUT when using thealgorithm
package as well things get tricky.algorithm
must be loaded afterhyperref
BUT, doing the following error if figures are used at the same time with pdfTeX:
ERROR: pdfTeX warning (ext4): destination with the same identifier (name{figure.1})
The solution is to load the
float
package (which is normally loaded by other more high-level packages) beforehyperref
like so:
\usepackage{amsmath,amsymb,graphicx,subfigure,etc.,etc.}
\usepackage{float}
\usepackage{hyperref}
\usepackage{algorithm}The other solution is to not use pdfLaTeX, and use regular LaTeX instead.
转载于:https://wwwblogs/sunleecn/archive/2013/04/25/3041504.html
本文标签: warningpdfTeXErrorfigureidentifier
版权声明:本文标题:ERROR: pdfTeX warning (ext4): destination with the same identifier (name{figure.1}) 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1729217093a1190551.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论