Latex:对各个 longtable 行的超引用
我有一些长表,可以拉伸几个页面,我想使用 pageref 和 hyperref 链接到这些行。
但无论我尝试什么,链接总是指向表格的开头。 当我查看 aux 文件时,标签似乎都被重新定义到 table.[table number] 中。
我尝试将看不见的虚拟数字放入表中,但这只会给我带来太多浮动的错误。
我也尝试将标签放入迷你页中,但无济于事。
即使将标签放入脚注中也不起作用,但 longtable 似乎总是能找到它们。
I have a few longtables that stretch several pages and I want to use pageref and hyperref to link to these rows.
But whatever I try, the links always refer to the start of the table.
When I look into the aux file, the labels all seem to be re-defined into table.[number of table].
I tried putting invisible dummy figures into the table, but that just gives me errors of too many floats.
I also tried putting the labels into minipages, to no avail.
Even putting the labels into footnotes doesn't work, somehow longtable always seems to get to them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我通过引入自定义计数器和标签命令解决了这个问题:
I solved this problem by introducing a custom counter and label command:
根据这篇文章和< a href="http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/" rel="nofollow noreferrer">Hyperref 的自述文件 您需要在之后包含 Hyperref 包你包括长桌
According to This article and The readme for Hyperref you need to include the Hyperref package after you include Longtable