G. Milde wrote:
On 22.03.05, EXT / TEAMLOG MELLERIN Pierrick wrote:

Hello,

I would like to know what is the code for putting a frame strictly around
one graphic (figure) only ?


I know that the following code is OK :

\usepackage{framed}
\renewenvironment{figure}[1][tbph]
        [EMAIL PROTECTED]
        [EMAIL PROTECTED]

But it applies to all the figures of the document ...


So try to mimick this in your float: Insert the float via Insert>Floats>Figure
and in the float use ERT for \begin{framed} and \end{framed}.

this is a frame around the whole float and a width of the textwidth, but not a frame around the image. For this write into the preamble

\let\grfxinput\includegraphics
\renewcommand\includegraphics[2][]{%
  \fbox{\grfxinput[#1]{#2}}}

or alternative for a single image
\fbox{ ... insert the graphic as uaual ... }


Herbert


-- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes



Reply via email to