Is there a way to get LaTeX to place figures in the same page as a reference to that figure?

后端 未结 9 1080
粉色の甜心
粉色の甜心 2021-01-31 02:48

I am using LaTeX and the figure environment.

I am well familiar with the parameters to that environment: [htbp], and I am also generally familiar with the strategies tha

9条回答
  •  孤街浪徒
    2021-01-31 03:21

    I don't want to sound too negative, but there are occasions when what you want is almost impossible without a lot of "artificial" tuning of page breaks.

    If the callout falls naturally near the bottom of a page, and the figure falls on the following page, moving the figure back one page will probably displace the callout forward.

    I would recommend (as far as possible, and depending on the exact size of the figures):

    • Place the figures with [t] (or [h] if you must)
    • Place the figures as near as possible to the "right" place (differs for [t] and [h])
    • Include the figures from separate files with \input, which will make them much easier to move around when you're doing the final tuning

    In my experience, this is a big eater-up of non-available time (:-)


    In reply to Jon's comment, I think this is an inherently difficult problem, because the LaTeX guys are no slouches. You may like to read Frank Mittelbach's paper.

提交回复
热议问题