I have a document that only contains of many floats (tables and figures).

Is it possible to force floats to be in the same order in the pdf document as they are in the .tex file?

It is not important where exactly the floats are located as long as they are in the correct order.

  • 1
    How about inserting tables and figures directly in the document without floating environment? This would ensure that they are in the correct order. Jan 9, 2019 at 15:04
  • 1
    This is the situation where floats are pretty pointless. If you still need captions, package capt-of comes in handy.
    – Johannes_B
    Jan 9, 2019 at 15:06

1 Answer 1


By default latex will keep the order of figures and tables, but in separate classes. So a table can move behind a figure even if it is before in the tex-file. If you want figures and tables to belong to the same class of floats, you should redefine the type of tables:


\edef\ftype@table{\ftype@figure} %force the table to stick between the figures
some text
figure 1

\begin{table}[p] %p for the example ...

figure 2


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .