# Why is \newpage ignored sometimes ?

I have the following towards the end of an article. The bibliography is short (4 entries).

What's happening is that on the very last page of document I get the chart and immediately afterwards the References section, despite the \newpage directive. While I personally prefer everything on one page, I have a requirement to put the references on a different page. Is LaTeX ignoring \newpage because it finds plenty of space to use on that page? If so, I'm confused why it does so even when told explicitly to start a new page.

I cannot post the entire article so hopefully the excerpt below will be helpful.

bla bla bla
bla bla bla
bla bla bla

\begin{figure}[htp]
\centering
\includegraphics{my-image}
\caption{caption here}\label{my-label}
\end{figure}

\newpage
\begin{thebibliography}{99}

-

Floating figures and tables can move past \newpage, so what is happening is that the \newpage does start a new page, then inserts the figure, then starts the references section.

You want \clearpage, which has the same effect as \newpage but restricts floats as well. If there are pending floats when \clearpage hits, a float page is created only after which the content will continue.

-
Moreover, if you're writing a document with the 'twoside' and 'openright' options (e.g. a book), you want to use \cleardoublepage – kahen Mar 6 '11 at 6:07
Thanks for nice help. It's working. Anas – user9513 Nov 22 '11 at 17:37
neither \newpage nor \clearpage nor \cleardoublepage work for me. Any ideas? I have lots of graphics and not much text in my document but latex float placement at the moment is really far off. – wirrbel May 13 '13 at 7:55
@holger I suggest searching through tex.sx for float placement help. If still in doubt ask a new question. – Will Robertson May 16 '13 at 11:37
The error was that in the class that I used some package was loaded that made all floats appear at the very end of the page. (endfloat or something like that). Therefore all the other options did not work. – wirrbel May 16 '13 at 12:25