Frame around graphic
Yu Jin
yu_jin at lyx.org
Tue Nov 23 10:19:25 UTC 2021
Am Di., 23. Nov. 2021 um 10:38 Uhr schrieb Wolfgang Engelmann <
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20211123/6d3a9d66/attachment.html>
More information about the lyx-users
mailing list