LaTeX forum ⇒ Graphics, Figures & Tablesgraphicx: figure pushed to next page Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
gregalan
Posts: 2
Joined: Thu Jul 19, 2018 4:03 pm

graphicx: figure pushed to next page  Topic is solved

Postby gregalan » Thu Jul 19, 2018 4:18 pm

Quick question: When I use the code

\includegraphics[width=14cm,height=8cm]{Figure1}

the figure is inserted nicely into the text and fits well inside the page. However, if I use

\begin{figure}[!ht]
\includegraphics[width=14cm,height=8cm]{Figure1}
\end{figure}

the figure is pushed to the next page. Rescaling to a smaller size makes no difference. I'd like to use begin-end syntax so I can have figure labels, but am just giving the bare bones here. Any thoughts?

Thanks, Gregalan

gregalan
Posts: 2
Joined: Thu Jul 19, 2018 4:03 pm

Postby gregalan » Thu Jul 19, 2018 4:37 pm

I think I know what's happening. I was using an APA style shell, which I think pushes figures to the end of a document. Sorry to waste space.

Gregalan

User avatar
Stefan Kottwitz
Site Admin
Posts: 9192
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Thu Jul 19, 2018 5:04 pm

Hi Gregalan,

welcome to the forum!

Thanks for posting your solution. Posting a problem and the solution is always good since people can find it when searching for the same issue. Here is enough space. ;)

In this case it can be pushed to the next page since bottom placement is not allowed, only here and top (ht). Try [!htbp] for most flexible placement of figures.

Stefan
Site admin


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 15 guests