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.

Stefan Kottwitz
Site Admin
Posts: 10345
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

Code, edit and compile here:
\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}
...
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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: 10345
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