Hello,
I am editing a 'report' document in latex and I tried to embed a figure. Therefore, I chose "insert->figure" from the main menue, which causes Texniccenter to include the figure into a 'figure' environment.
However, trying to compile the document results in a 'Float(s) lost' error, independent of the scaling of the picture. I finally managed to get it compiled, but for this I had to remove the surrounding figure-environment.
Can anyone please tell me why this happens?
General ⇒ Error: Float(s) lost
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Error: Float(s) lost
Hi,
this can happen if you use a float, such as figure or table, within another float (figure, table) environment or within marginpar, or inside a \parbox, a minipage or even a \footnote. Just check this, try using floating figures outside of such environments.
Stefan
this can happen if you use a float, such as figure or table, within another float (figure, table) environment or within marginpar, or inside a \parbox, a minipage or even a \footnote. Just check this, try using floating figures outside of such environments.
Stefan
LaTeX.org admin
-
- Posts: 2
- Joined: Fri Feb 03, 2012 2:34 pm
Re: Error: Float(s) lost
thanks a lot!
actually, it is insight of a minipage. so now I will try to put it outsided of this environment!

Error: Float(s) lost
For those struggling with this problem caused by a
\marginpar
inside, for example, a \parbox
, try marginnote.