Nicolas Michael wrote:
>
> Hello!
>
> I want to have a grey box (area with grey background). In this box I
> want to have a small icon (top left) and text right next to it (floating
> around it, not only starting at the bottom of the icon).
>
> I tried the following:
>
> \begin{cminipage}[lightgrey]
> \begin{floatingfigure}[l][IMAGE]{1.5cm}\end{floatingfigure} Text Text
> Text
> \end{cminipage}
>
> (\usepackage{floatflt} im LaTeX-Preamble)
>
> What happens when using floatingfigure is that the entire minipage slips
> to the side (about 2 cm)! (Without {1.5cm} it "only" slips by about 0.5
> cm, but of course the text is overlapped by the icon.)
i don't really know if this may help, but try:
inserting the figure by lyx-menu gives an centered image,
but for floatflt you need a non-centered one. therefore mark the
image with shift cursor right (or left), do a ctrl-x and insert
it with ctrl-v again. now it's on the left side. now run ps-view.
this works for me.
my structure is:
\begin{cminipage}[yellow]
\begin{floatingfigure}[l]{4.5cm}
.. the inserted image ...
\end{floatingfigure}
Text Text ...
\end{cminipage}
Herbert
--
[EMAIL PROTECTED]
http://perce.de/lyx/