I have somewhat bizarre footnote placement in a document that I'm typing. Unfortunately, I'm also having trouble reducing it to a minimum not-working example as this behaviour seems to depend on many factors, including the specific sizes of certain floats (replacing one by a vertical line of only roughly the right size removed the problem). So any help on how to track down the problem would be as greatly appreciated as solving it itself.
To specifics, I have a footnote in a document and the footnote is being put two pages after the footnote mark. There are no other footnotes, but there are a lot of floats. Enough, in fact, that the intervening page is a float page. The footnote command itself is not near the page break.
Some hopefully relevant details:
- The line containing the footnote command is the last sentence of a section, though it is followed by some displayed mathematics.
- There is enough room for the first two paragraphs of the next section on the page (though each is short: 2 lines and 3 lines).
- There are five figures in quick succession. The first gets displayed on the page with the
\footnotecommand. The next three go on a special float page, and the fourth goes on the next page.
- The footnote goes on the page after the float page.
- The footnote itself is only a short sentence.
So it feels as though some bizarre spacing is meaning that the footnote doesn't get placed on the correct page, then the float page pushes it one further than that.
The document itself is quite complicated, and in trying to reduce it to a MWE, I find it very difficult to consistently reproduce the problem.
So, to sum up:
- How do I say "this footnote belongs on this page"?
- How does (La)TeX figure out where footnotes go?
- If there aren't good answers to the above, any suggestions on what to concentrate on when trying to debug this would be greatly appreciated.