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. – user36296 Jan 9 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 at 15:06

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


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.