Graphics, Figures & TablesForce image to be on its own (static) page

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
CJFugate
Posts: 12
Joined: Thu Aug 23, 2012 11:47 pm

Force image to be on its own (static) page

Post by CJFugate »

I have an image that with its caption takes up more or less a whole page. I'd like to see something like -

page 1
Section 1. This is the section where I describe the figure
Blah Blah Blah Blah Blah Blah Blah Blah
Blah Blah Blah Blah Blah Blah Blah Blah
Blah Blah Blah Blah Blah Blah Blah Blah
Section 2. This is a new section unrelated to the figure
new text new text new text new text
new text new text new text new text
page 2
*************************************
* Figure *
**************************************


However, if I add the code for the figure where I'd like it to be

Code: Select all

\begin{figure}[H]
\begin{center}
\includegraphics[scale=1]{chapterOne/Fig6.pdf}
\caption{this is my figure}
\end{center}
\end{figure}
the image gets forced to a new page after ALL THE CODE I PUT AFTER IT. If I try to use \newpage just before the image I get something that looks like -
page 1
Section 1. This is the section where I describe the figure
Blah Blah Blah Blah Blah Blah Blah Blah
Blah Blah Blah Blah Blah Blah Blah Blah
Blah Blah Blah
page 2
Blah Blah Blah Blah Blah
*
* Empty white space
*
page 3
*************************************
* Figure *
**************************************
page 4
Section 2. This is a new section unrelated to the figure
new text new text new text new text
new text new text new text new text

I don't want all the empty white space. I hope this makes sense! Thanks!!!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Force image to be on its own (static) page

Post by localghost »

The only way to get a figure on its own page is by using the p placement parameter. And to get its output as soon as possible a combination with ! is advisable.

Code: Select all

\begin{figure}[!p]
% figure content
\end{figure}
Note that the text which still appears before the figure depends on the space that is left on the page before the figure can be processed. Nevertheless the figure still can float but should appear very soon with not to much distance to the place where it was declared i the source. At the latest on the next page.


Thorsten
Post Reply