It is the most frequently asked question for LaTeX: figure
s and table
s are not placed where they are specified.
Beginners have often problems understanding the concept of floats and the difference between figure
and \includegraphics
as well as table
s and tabular
s. At the moment we link most of these questions to Keeping tables/figures close to where they are mentioned
which has some good answers, but the question also includes some listings
stuff, which makes the question less useful as a general link target. Also the OP is not active anymore and did not accept any answer (to this or any other of his questions).
Therefore my suggestion:
We should have a good CW question for this kind of float placement. Then we can merge the existing answers to that and similar questions to it, so we have everything at one place. We should really have a good representative question plus at least one "official" and excellent answer to the Queen of the FAQs :-)