# I need help on forcing a pagebreak in LaTeX

I am using LaTeX and trying to put the tables and figures at the end of the manuscript so that they occur on separate pages. I have tried \pagebreak, \newpage, \displaybreak before each of the tables/figures and none of them are forced onto a new page. Help.

-
Can you post a short example? It could be an issue with the float position in which case the [H] specifier would help. – Timmy Aug 27 '14 at 17:14
Okay, I have a table, then another table. I want both of them on separate pages at the end of the manuscript. I can post all the details but basically it looks like this ...\bibliography stuff \endbibliography \vfill\pagebreak (or \eject or \newpage) \begin{table}[p] ... table stuff ...\end{table} followed by the same stuff for the second ... third .. etc tables and figures ... and nothing seems to force the tables or figures to the next page. As for being blast from the past, what would you recommend when they tell you your manuscript has to be typeset in AMSTeX? – tmwitten Aug 27 '14 at 17:31
\begin{table} looks like latex? are you sure you are using amstex (which is a separate non-latex format) not ams latex class such as amsart ?? – David Carlisle Aug 27 '14 at 17:35
@barbarabeeton more to the point \clearpage unlike \newpage or \pagebreak explicitly invokes the output routine to flush all pending floats. – David Carlisle Aug 27 '14 at 17:52
Well, whatever it does, once I put a \clearpage after each figure and table, it worked beautifully. Guess I have a whole lot more to learn about TeX. – tmwitten Aug 27 '14 at 18:05

\clearpage will flush each float on to a new page

-

This is what the package endfloat is for.

-
yes.. I initially made (but didn't post) a comment saying exactly this, but then as OP already has the figures at end of document in the source, just flushing them out seemed more efficient, although in general endfloat seems to work quite well for this. (+1:-) – David Carlisle Aug 28 '14 at 8:57
@DavidCarlisle My suspicion is that the OP put all figures at the end of the document in the .tex file because (s)he is unaware of endfloat. – Sverre Aug 28 '14 at 11:26
Sure, but once they are there, they're there:-) – David Carlisle Aug 28 '14 at 12:28

The package endfloat will move all floats to the end; setting totalnumber to 1 will ensure only one float per page.

\documentclass{article}
\usepackage[nomarkers,nolists]{endfloat}
\usepackage{lipsum}

\setcounter{totalnumber}{1}

\begin{document}

\lipsum[1]

\begin{figure}
\centering
\fbox{\rule{0pt}{1cm}\rule{4cm}{0pt}}
\caption{A caption}
\end{figure}

\lipsum[2]

\begin{figure}
\centering
\fbox{\rule{0pt}{2cm}\rule{4cm}{0pt}}
\caption{A caption}
\end{figure}

\lipsum[3]

\begin{figure}
\centering
\fbox{\rule{0pt}{3cm}\rule{4cm}{0pt}}
\caption{A caption}
\end{figure}

\lipsum[4]
\begin{figure}
\centering
\fbox{\rule{0pt}{1cm}\rule{4cm}{0pt}}
\caption{A caption}
\end{figure}

\lipsum[5]

\end{document}

-