I tried something like this: Move tables to appendix
to move tables and figures to the appendix.
However, longtables remain before the appendix. I solved this, following the manual ftp://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf
But now, I always get an error, if I try to use options for end float, in my case [nomarkers,nolists]
.
Any idea on how to solve this?
Currently, I get errors with all order of packages.
\usepackage[nomarkers,nolists]{longtable,threeparttable,booktabs,endfloat}
\DeclareDelayedFloatFlavour*{longtable}{table}
\DeclareDelayedFloatFlavour{threeparttable}{table}
\DeclareDelayedFloatFlavour{booktabs}{table}
or
\usepackage[nomarkers,nolists]{endfloat,longtable,threeparttable,booktabs}
\usepackage[nomarkers,nolists]{longtable,endfloat,threeparttable,booktabs}
and so on.
I really would like to know what to do about this.
I did not provide an MWE, as the problem is basically the error message, that LaTeX thinks [nomarkers,nolists]
is an option to anything else than end float!
Best Answer
What happens is that the tables are written to a file, and then at the end this file is
\input
and processed normally. Now your tables are floating, butlongtable
is not floating. Because you have[tb]
as position specifier on your tables, these float to the top or the bottom of the page, so they can move across the longtable. If you want to preserve the order you can\usepackage{float}
and give your tables the[H]
specifier. Then the order will be preserved.And as others have observed, put the other packages out of the
[nomarkers,nolists]
options. And the line\DeclareDelayedFloatFlavour{booktabs}{table}
does not make sense, asbooktabs
is not an environment.Here is a complete example.