inbo / INBOmd

An R package with a collection of RMarkdown styles and templates. Elaborate examples are available at https://github.com/inbo/INBOmd_examples
https://inbo.github.io/INBOmd
GNU General Public License v3.0
11 stars 2 forks source link

Order of numbered tables #28

Closed florisvdh closed 7 years ago

florisvdh commented 7 years ago

In the report example of INBOmd_examples several (nice!) tables are generated. They get a table number. LaTeX places them in a different order, e.g. 12.3 -> 12.1 -> 12.2. This should be avoided in my opinion; I guess this will not conform to INBO standards. In other words, tables may float but they should not 'jump' one over another.

Maybe the same problem can occur with figures.

ThierryO commented 7 years ago

This is something you can't force in the style. The user has to be vigilant about this. However, in practice users will be unlikely to mixed different styles of tables in the same section. Hence the problem is less likely to occur.

In case it does occur, the user can fix it by placing a \FloatBarrier at the proper place (in this case before placing table 12.3). This is described in §7.3.