[OS X TeX] Frame around figures?

Bruno Voisin bvoisin at mac.com
Thu Sep 20 17:44:37 EDT 2007


Le 20 sept. 07 à 23:35, Nathan Paxton a écrit :

> 	I've tried looking to see if there is an easy way to put a frame  
> around a figure, but I can't quite understand if "bounding box"  
> means a line around a graphic (in the graphicx package). How do I  
> put a line around an included graphic?

\fbox{\includegraphics{myfigure}}

The space (vertical, horizontal) between the figure and the frame is  
set by the length \fboxsep. For example, to get a 2 point space  
between figure and frame, put in the preamble:

\setlength{\fboxsep}{2pt}

Bruno Voisin


------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list