Graphics, Figures & Tables\clearpage and figure question

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
lepagano
Posts: 12
Joined: Tue Dec 22, 2009 1:42 am

\clearpage and figure question

Post by lepagano »

Hello all,

Thank you for taking the time to read my post.

I have a quick question regarding "\clearpage". I have A LOT of figures in my Lyx document thanks for my Thesis and therefore, I am getting the "Too many unprocessed subfloats" error. Hence, I placed the \clearpage text every 5 images or so... However, this produces clear pages in the document (blank pages). Obviously, I need to get rid of these. Also, I did try to use pagebreak, but this still produces blank pages with the figures in weird places. Any input on this issue would be helpful... Has anyone had this problem???

Also, is it possible or feasible to place a figure under two subfigures?? I have subfigure a and b and I want to put a legend (figure) underneath that will correspond to both... I have been trying to do this, but it doesn't look right... Anyone try to do this...?

Thank you for all your time.

Regards,

Lara

Recommended reading 2024:

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

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

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

\clearpage and figure question

Post by Stefan Kottwitz »

Hi Lara,

you could use the command \FloatBarrier of the placeins package.
Or use \clearpage together with the afterpage package:

Code: Select all

\afterpage{\clearpage}
Regarding the other problem perhaps don't use a figure environment, or use the positioning parameter [H] but load the float package. Perhaps have a look here: Prevent floating of figures or tables.

Stefan
LaTeX.org admin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

\clearpage and figure question

Post by Stefan Kottwitz »

Hi Lara,

alternatively you could try the morefloats package.

Stefan
LaTeX.org admin
Post Reply