Bart C. Wise wrote:
> I am using framed and externalfigure commands. I want to put a rule 
> around the image; however, the image has space around all sides. It 
> appears that the top, right, and left sides has the same gap. However, 
> the bottom side has a huge (by comparison) gap. So I can't use a 
> negative offset to fix the problem.

strut=no

> How do I center the image & place a border?
> 
> \framed[location=middle,height=fit,width=fit,rulethickness=1.0pt]{%
> 
> \externalfigure[image-01.png][maxwidth=3cm,maxheight=4cm]
> 
> }

\framed[strut=no,offset=2mm,rulethickness=1.0pt]{...}

or just

\externalfigure[image-01.png][maxwidth=3cm,maxheight=4cm,frame=on]

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to