@@ -70,7 +70,10 @@ $if(graphics)$
71\makeatother
71\makeatother
72\let\Oldincludegraphics\includegraphics
72\let\Oldincludegraphics\includegraphics
74+ \catcode`\@=11\relax%
73−\renewcommand{\includegraphics}[2][]{\Oldincludegraphics[width=\ScaleIfNeeded]{#2}}
75+ \gdef\includegraphics{\@ifnextchar[{\Oldincludegraphics}{\Oldincludegraphics[width=\ScaleIfNeeded]}}%
76% Comment these out if you don't want a slide with just the
79% Comment these out if you don't want a slide with just the