Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Keeping tables/figures close to where they are mentioned

The following code:

\section{Section 1.2}

This is a paragraph.

The details page should look like the following:

    \caption{Figure 1.5}

Is producing the following output:


As you can see, the figure is displaying above the text. My intention is for the figure to come below the text. How can I force this behavior? I put the \clearpage command at the top because otherwise the Section 1.2 heading was appearing at the bottom of the previous page with the text and figure following on the next page (which I did not want). In case it is relevant, I am using \documentclass{book}.

share|improve this question

marked as duplicate by Seamus, lockstep, Stefan Kottwitz Aug 23 '11 at 19:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to TeX.sx! It looks like this question has been asked here before: tex.stackexchange.com/questions/2275/… –  doncherry Aug 23 '11 at 17:14
Also consider reading section 3 The User Interface - [H] Placement Specifier of the float package documentation. –  Werner Aug 23 '11 at 17:23

1 Answer 1

up vote 5 down vote accepted

Use the placement specifiers:

    \caption{Figure 1.5}
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.