I am using elsevier latex article template (\documentclass[preprint,review,10pt]{elsarticle}) and I need to push all figures and tables to the end of the document. I am using this:
\usepackage[nolists]{endfloat}
\renewcommand{\efloatseparator}{\vfill}
It does the job and puts all figures and tables at the end of the manuscript, but I have another issue. I must have a maximum of two figures or tables per page. How can I specify this maximum of 2 figures per page for the endfloat package?
\setcounter{totalnumber}{2}to your preamble. See How to influence the position of float environments likefigureandtablein LaTeX? – Werner Dec 01 '20 at 22:58\renewcommand. It's a counter, so if you want to set/change it, use\setcounter. – Werner Dec 02 '20 at 17:00