[Tex/LaTex] How to force references to appear at the very end of a document, without placing them on a new page

biblatexfloatspage-breaking

I'm writing a document that must be at most two pages long. I'd like for my references (created using Biblatex) to appear at the very end of the document, in a single contiguous block, after all the figures. Currently the references are being split across the first and second pages, with figures appearing "in the middle" of the list of references.

I can't use \clearpage because I don't want to start a new page for the references. I've spent some time googling for this and haven't found an answer yet, although there is probably a simple solution. Many answers discuss figure placement, but it's not clear to me how that applies to bibliography placement.

Best Answer

The following should work:

\clearpage % force a pagebreak and flush all deferred `table` and `figure` environments
\printbibliography

You should really also look into why the typesetting of some or all table and figure environments is being deferred to the end of the document. E.g., hare you maybe using a positioning specifier such as [h]? To gain an in-depth understanding of the issues that can arise with LaTeX's float placement algorithm, you may want to read Frank Mittelbach's detailed answer to the question How to influence the position of float environments like figure and table in LaTeX? This posting was re-published in 2014 in issue 35:3 of TUGboat, the journal of the TeX Users Group.

Related Question