Permalink
Browse files

add shaded-figure feature

  • Loading branch information...
1 parent 29bb5af commit 6893ae89161e82bc54d18c23ccce8ab105f79036 @fletcher committed Mar 3, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 shaded-figure.tex
View
@@ -0,0 +1,6 @@
+% Renew figure environment to include white background %
+% Useful in beamer presentations %
+
+\let\oldfigure\figure
+\let\endoldfigure\endfigure
+\renewenvironment{figure}[1]{\begin{oldfigure}[#1]\begin{shaded}}{\end{shaded}\end{oldfigure}}

0 comments on commit 6893ae8

Please sign in to comment.