# [texhax] Problems with framing a minipage

James Smith sf at aleph-one.com
Tue May 15 11:47:35 CEST 2007

Hi,

I'm trying to put a frame around a figure, thus:

+++

\begin{figure}[h]
\centering
\framebox
{
\begin{minipage}{\textwidth}
\epsffile{figures/Class_heirarchy.eps}
\end{minipage}
}
\caption{The Jasper core class methods and hierarchy}
\label{figure_core_class}
\end{figure}

+++

For some reason the width of the frame is slightly wider than the
textwidth. I have changed this (and the evensidemargin size) in the
preamble, but even when I take these out the problem remains? Why is the
width of the frame not exactly equal to \textwidth?

Thanks muchly!

James

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.0/804 - Release Date:
14/05/2007 16:46