In my document I number tables and figures with the same counter, using the answer to https://stackoverflow.com/questions/3865036/using-a-single-count-for-figures-and-tables-in-latex/7771554#7771554.

I'd like them to appear in numerical order. That usually happens, but in one case I see Figure 1.2 after Table 1.3 - probably because the Table is smaller and happens to fit on the current page.

I could fix this by calling this Table a Figure without torturing the text too much, but a LaTeX solution would be automatic.

If no one answers soon I can put together an MWE by playing with Figure, Table and page lengths.

The question and answer at Order of float types on float pages seems to deal with the opposite of what I want.


LaTeX keeps all floats of the same type in order, so you need (at least)


so figures and tables are the same type (1)

  • Can this be done for selected figures only? I want specifically one figure and one table to be in the order of their definitions. – Somebody Aug 20 '13 at 12:44
  • 1
    @Somebody In that case it's probably easier to use \begin{figure} for the special table so it doesn't pass any figures and use capt-of or caption package \captionof{table}{......} so you make a table caption not a figure one – David Carlisle Aug 20 '13 at 13:29
  • Good, your script must be anywhere in the preamble? – santimirandarp Aug 27 '17 at 1:39

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.