Position of a figure [duplicate]

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?

-

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

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
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)
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
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