Skip to content
Prev 106000 / 398506 Next

Sweave, Xfig, pdflatex and \setkeys

David Lindel?f wrote:
If you knew what setting you needed, you could try

\setkeys{Gin}{width=whatever}

before your include, and set it back to the default afterward with

\setkeys{Gin}{width=0.8\textwidth}

I have run into this myself, but since I was also using beamer, it
wasn't at all obvious what I should try for the setting, so I don't
know if this will work.  I have used this to rescale the imported
graphics from R.  Fortunately, the graphic I created in xfig could
be completely specified in LaTeX, and so I exported it in that format
and imported it with \scalebox{0.5}{\input{xfigfile.latex}}