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:
Force figure placement in text
Keeping tables/figures close to where they are mentioned
How to influence the position of float environments like figure and table in LaTeX?

I'm having a few definitions and some graphics. I want to have the following structure

Definition1

Figure1

Definition2

Figure2

Definition3

Figure3

The problem is that the document looks like this:

Definition1

Figure1

Definition2

Definition3

An on the next page, I suddenly have both figures at the top

Figure2

Figure3

How can I achieve the positioning I want, without LaTeX repositioning the figures?

share|improve this question

marked as duplicate by qubyte, Alan Munn, Thorsten, Werner, lockstep May 6 '12 at 6:22

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! Please use the search options before posting a new question or check the list of possible duplicates which is displayed while creating a new question. This is the most frequent LaTeX question of all time (here and everywhere) and we have it now in dozens of different form, most of them closed as duplicates. Note that figure are supposed to float to the next top or bottom of the following pages, as it is good style and always done in professional books. You can use \label and \ref to link to them. –  Martin Scharrer May 6 '12 at 7:25
add comment

1 Answer 1

up vote 5 down vote accepted

Try using \usepackage{float} at the beginning of your texfile and \begin{figure}[H] just before you figure. The H there forces LaTeX to display the image at the position where it was defined (usually people go with ht or htb)

share|improve this answer
    
I am already using 'float' with 'h'. It makes no difference. Edit: AHHH, there is a difference between h and H –  Chris May 6 '12 at 4:45
2  
If the figure is placed wrong, you can also use \usepackage{here} in combination with H. It will "force" the figure to stay where it should be. –  elton Jun 20 '12 at 14:29
add comment

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