Graphics, Figures & TablesA lot of figures and no text

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
waterboy
Posts: 8
Joined: Fri Jun 17, 2011 9:47 pm

A lot of figures and no text

Post by waterboy »

Hi.

I need a chapter with a lot of pictures (about 40), but no text (well, only captions to the pictures). How do i do that?

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

A lot of figures and no text

Post by Stefan Kottwitz »

Hi,

start with \chapter and use a figure environment for each picture with a caption, such as

Code: Select all

\chapter{Title}
\begin{figure}[htbp]
\centering
\includegraphics{filename1}
\caption{text for first figure}
\end{figure}
\begin{figure}[htbp]
\centering
\includegraphics{filename2}
\caption{text for second figure}
\end{figure}
...
Stefan
LaTeX.org admin
waterboy
Posts: 8
Joined: Fri Jun 17, 2011 9:47 pm

Re: A lot of figures and no text

Post by waterboy »

That dosn't work.. It can't handle all the floats..
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: A lot of figures and no text

Post by Stefan Kottwitz »

In that case just insert from time to time a \clearpage. Or \afterpage{\clearpage}, if you load the afterpage package.

\clearpage forces the output of floats, that LaTeX can go on to handle the next floats.

Stefan
LaTeX.org admin
Post Reply