I'd like to add a frame around my figures. However, I find that this works 
only so long as I position the figure Here, definitely. Anything else and 
LaTeX complains.

\usepackage{framed}

\begin{document}

\begin{framed}%
\begin{figure}[H]

\caption{some caption}

\end{figure}
\end{framed}

\end{document}

What's the recommended way to do this?

Ideally, I'd like to renew the figure environment, but again this is beyond 
my skills. I've read Herbert's tip 

Centering all floats
If you want to center for example all of your uncentered figures, you can 
do this with 

\renewenvironment{figure}[1][\fps@figure]{%
      \@float{figure}[#1]%
    \centering
  }{%
    \end@float
  }

but have been unable to adapt it to my needs.

Best regards,
Angus

 


Reply via email to