In LaTeX, is there a way to put a float automatically after where it is first referenced?

て烟熏妆下的殇ゞ 提交于 2019-12-02 20:41:40

The LaTeX Companion says that the flafter package can be used to ensure that floats are never placed before their references. To use this, add the following to your document's preamble:

\usepackage{flafter}

Note that, according to this thread, what flafter does is ensure that the float never appears before its position in the LaTeX source code.

This may work well if your document only has a few floats. For documents with lots of floats, placement becomes much more difficult, and you may find that all your floats appear together at the end of the document or chapter, or you may receive a "Too many unprocessed floats” error. I suggest reading this page and this page in the UK TeX FAQ for more suggestions.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!