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.

1 Answer 1


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, 2013 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 Aug 20, 2013 at 13:29
  • Good, your script must be anywhere in the preamble?
    – user134500
    Aug 27, 2017 at 1:39
  • David's reply also helped me for a kind of hijacked use or misuse: it helped me to place one table right below a figure, in the correct order of appearance in the code. Using one single float (either figure or table) environment was not an option in my case as I had to keep the specific formatting of the captions and so (IEEE journal). Not that a short story but I have no time for now to open a new thread on it. Sep 22, 2021 at 19:28

You must log in to answer this question.

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