SOLVED: Frame around graphic
Wolfgang Engelmann
engelmann at uni-tuebingen.de
Tue Nov 23 14:14:07 UTC 2021
Am 23.11.21 um 11:19 schrieb Yu Jin:
> Am Di., 23. Nov. 2021 um 10:38 Uhr schrieb Wolfgang Engelmann
> <engelmann at uni-tuebingen.de <mailto:engelmann at uni-tuebingen.de>>:
>
>
>
> Am 23.11.21 um 10:08 schrieb Wolfgang Engelmann:
> > I would like to frame a graphic in a float with a black border,
> because
> > the sky in the picture is quite bright and is not well
> distinguishable
> > from the surrounding text. I could not find a description for it
> in the
> > Embedded Objects help file. Is this possible and if, how to do it
> (boxes?)
> > Wolfgang
>
> I tried it with a framed box, but it is quite difficult and time
> consuming to find the right settings for the text width and text
> height.
> Is there a better way for doing it (something like 'fit the graphic')?
>
> Hi, what about:
> in the float insert "box, simple frame" right click on it choose inner
> box = none, and uncheck "width" checkbox. Then put 0 pt in "box separation"
> the result should look like this in the latex code:
>
> \begin{figure}
>
> {\fboxsep 0pt\fbox{\includegraphics{../Downloads/6}}}
>
> \caption{}
>
> \end{figure}
>
>
> --
> Eugene
Thanks a lot, Eugene.
That did it!
Wolfgang
More information about the lyx-users
mailing list