## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ Figure placement when using [p!] (page)

Information and discussion about graphics, figures & tables in LaTeX documents.
hughes
Posts: 3
Joined: Tue Sep 22, 2009 12:42 am

### Figure placement when using [p!] (page)

I'm trying to get each figure on its own page for a dissertation (document class book), so (using graphicx) I declared:
\begin{figure}[p!tb]	...\end{figure}

Figures are put on a separate page, but the page occurs at the end of the chapter. Is there any way to have the figure appear on the page after the first reference to it?

Thanks

Stefan Kottwitz
Posts: 9406
Joined: Mon Mar 10, 2008 9:44 pm
Hi,

you could use \clearpage to force the output of the figures, further you could combine it with afterpage.

Stefan

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm
Put the exclamation mark first in the option list.
\begin{figure}[!p]   % figure contents\end{figure}

The other parameters are not necessary if each figure shall appear on its own page like you described.

Best regards and welcome to the board
Thorsten
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

HypnosiS
Posts: 20
Joined: Sun Sep 21, 2008 2:58 pm
hughes wrote:I'm trying to get each figure on its own page for a dissertation (document class book), so (using graphicx) I declared:
\begin{figure}[p!tb]	...\end{figure}

Figures are put on a separate page, but the page occurs at the end of the chapter. Is there any way to have the figure appear on the page after the first reference to it?

Thanks

Type that before figures:
\usepackage{afterpage}...\afterpage{\clearpage}

Also check this topic I asked similar question: viewtopic.php?f=5&t=5903

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm
HypnosiS wrote:[...] Also check this topic I asked similar question: viewtopic.php?f=5&t=5903

This is not relevant to the problem discussed here because of a completely different environment for the figure.
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

keepitcoolkev
Posts: 1
Joined: Tue Feb 12, 2019 5:09 pm
I am sure the OP has moved on from this question, but I am putting this here for future users. I am also writing my thesis and am having the same problem. You can put the command \clearpage at any point in the document that you want figures with the placement code [!p] to end up on:
\begin{figure}...\end{figure} \clearpage

If I want two sequential figures to have their own pages, I'll write \clearpage after both of the \end{figure} commands. This will create a two new pages that floating, own-page figures can use.