-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/11/12 15:39, Richard Heck wrote:


No idea if you can use this in your case, but here it is:

You could also redefine your includegraphics. I did something similar, to have 
all graphics in a
shadowbox. I included in the preamble:

%%%%%%%%
% from
http://tex.stackexchange.com/questions/70547/how-can-i-renew-includegraphics-to-always-use-shadowbox
\usepackage{graphicx,fancybox,letltxmacro}
% save the meaning of \includegraphics
\LetLtxMacro\latexincludegraphics\includegraphics
% pass the image to \shadowbox
\renewcommand{\includegraphics}[2][]{%
    \shadowbox{\latexincludegraphics[#1]{#2}}}
%%%%%%%%

In addition, I used the following in the preamble to make the graphics always 
centered:

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

Hope this helps,

Rainer




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCjr78ACgkQoYgNqgF2egpq9QCfYg5NM/FKXIzO+YVPeUMPXYwa
u3kAn1O3vjeZJGJuhv5hhJHx9BJ0L+ue
=Ibnk
-----END PGP SIGNATURE-----

Reply via email to