On 2010-06-27, Petr A. Ossipov wrote:
> Hey
> I've got a problem with lyx placing my floats. I now have a subsection,
> and soon after it a float with image (and also a float with listing).
> However, after rendering, it places the image before this section, which
> is undesired. Is there a way to tell lyx that a float must be not before
> this subsection's title?
flafter is a LaTeX package that ensures that all floats never appear
before the place where they are defined in the LaTeX (or LyX) source.
In the LaTeX preamble, add
\usepackage{flafter}
Günter