在文档末尾再次列出所有图形(表格、算法)
我一直在用 LaTeX 编写一个相当大的文档。 现在我想在文件末尾再次列出所有图形/表格/算法,以便我可以检查它们是否看起来都相同。
例如,如果每个算法都有相同的符号。
我该怎么做?
我知道 \listofalgorithms
和 \listoffigures
但它们只列出算法或图形的名称以及它们所在的页面。
I have been writhing a rather large document with LaTeX.
Now I would like to list all the figures / tables / algorithms once again at the end of the file so that I can check if they all look the same.
For example, if every algorithm has the same notation.
How can I do this?
I know about \listofalgorithms
and \listoffigures
but they only list the names of the algorithms or figures and the pages where they are.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Hendri Adriaens 的提取包 大致具有您所需要的功能之后:您可以将命名环境(包括图形和表格)提取到补充 Latex 文件中,然后运行该文件以获取包含提取内容的文档。然后可以使用 pdfpages 将提取的内容附加到原始文档的末尾。
Hendri Adriaens' extract package has roughly the functionality you are after: you can extract named environments, including figures and tables to a supplementary Latex file, which you can then run to get the document containing the extracted content. The extracted content could then be tacked to the end of the original document using pdfpages.
似乎有一个软件包旨在完全满足您的要求。不过我自己还没用过。请参阅http://www.tex.ac .uk/tex-archive/macros/latex/contrib/preprint/figcaps.pdf。
There seems to be a package designed to do excatly what you ask. I have not used it myself, though. See http://www.tex.ac.uk/tex-archive/macros/latex/contrib/preprint/figcaps.pdf.
您可能可以使用许多技巧,但最简单的方法可能是使用浮动放置。如果您重新定义图形环境并基本上忽略放置参数(并将其强制为 [p]),那么您将在最后得到所有内容,并且可以检查一致性。
不过,没有标准方法可以在最后重新打印所有图片。
There are probably a number of hackeries you can employ but the easiest way is probably to play with float placement. If you redefine the figure environment and basically ignore the placement parameters (and force it to [p]) then you have everything at the end and you can check for consistency.
There is no standard way to reprint all pictures at the end though.
如果您只想临时将所有浮动放在最后,我建议使用 endfloat 包。它将所有浮动内容放在文档末尾的单页上。
If you only want to temporary put all floats at the end, I recommend using the endfloat package. It puts all your floats on single pages at the end of the document.