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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
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: 10348
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