aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.beamer3
1 files changed, 2 insertions, 1 deletions
diff --git a/default.beamer b/default.beamer
index 74109d359..120bd81f3 100644
--- a/default.beamer
+++ b/default.beamer
@@ -62,7 +62,8 @@ $if(graphics)$
\fi
}
\makeatother
-\setkeys{Gin}{width=\ScaleIfNeeded}
+\let\Oldincludegraphics\includegraphics
+\renewcommand{\includegraphics}[2][]{\Oldincludegraphics[width=\ScaleIfNeeded]{#2}}
$endif$
% Comment these out if you don't want a slide with just the