Graphics, Figures & TablesPage break after Bunch of Figures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
StupidPareBreak
Posts: 2
Joined: Sun Apr 21, 2013 2:03 pm

Page break after Bunch of Figures

Post by StupidPareBreak »

Greetings!

I am new to using a forum for LaTeX so I'll try to do my best. Up til now I managed to fix all my problems by using a search engine, but this one is killing me.

I included some spectra that I used in my thesis, and for some odd reason, after the last figure, a blank page is included before starting the next subsection. Is there any way of just placing the next subsection on the next page, instead of having a blank page there.

Code: Select all

\begin{figure}[H]
\centering
\includegraphics[width=1.2\textwidth, angle=90]{figuren/Staal1A}
\caption{Staal1}
\label{fig:Staal1IR}
\end{figure}

\begin{figure}[H]
\centering
\includegraphics[width=1.2\textwidth, angle=90]{figuren/Staal1Ab}
\caption{Staal2}
\label{fig:Staal2IR}
\end{figure}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%HERE IS THE BLANC PAGE I DON'T WANT%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{MS}

\begin{figure}[H]
\centering
\includegraphics[width=1.0\textwidth]{figuren/MSchloracetamide}
\caption{Chloracetamide}
\label{fig:ChloracetamideMS}
\end{figure}
Note: The figures I inserted are 3/4 of a page each.

Thanks in advance!
Last edited by Stefan Kottwitz on Sun Apr 21, 2013 2:34 pm, edited 1 time in total.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Page break after Bunch of Figures

Post by Stefan Kottwitz »

Hi,

welcome to the forum!

Using the H option for figures is bad for page breaking, since it disables LaTeX's capability to let them float for optimal page breaks. If you want it very flexible and easy positioned, you could use !htbp instead. No wonder that there's a page break problem.

Regarding the problem in this situation: your code snippet doesn't tell much. There's no cause visible. For sure there's a clear explanation, but we need to see the whole situation. So, please post a Infominimal working example, which shows the problem and which we can test to verify and to fix it. This can be a reduced, but compilable copy of your original document with dummy figures and text.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Page break after Bunch of Figures

Post by localghost »

StupidPareBreak wrote:[…] Note: The figures I inserted are 3/4 of a page each. […]
Besides the remarks of Stefan it is suggestive to put figures of such a size on their own page and prevent the placement of running text on these pages.

Code: Select all

\begin{figure}[!p]
% figure content
\end{figure}

Best regards and welcome to the board
Thorsten
StupidPareBreak
Posts: 2
Joined: Sun Apr 21, 2013 2:03 pm

Re: Page break after Bunch of Figures

Post by StupidPareBreak »

Thank you for the fast response! I managed to fix the problem by making the figure after the pagebreak a tiny bit smaller. Somehow that fixed the problem..

And my other figures I didn't use [H] but these spectra really had to be placed on that exact spot in that exact order.

Thanks again!
Post Reply