git.iko.soy/typeable/pandoc
on master help sign in
Provide \Oldincludegraphics in beamer like in LaTeX
25f999aBenjamin Bannier
default.beamer+2−1
@@ -62,7 +62,8 @@ $if(graphics)$
62 \fi
62 \fi
63}
63}
64\makeatother
64\makeatother
65−\setkeys{Gin}{width=\ScaleIfNeeded}
65+\let\Oldincludegraphics\includegraphics
66+\renewcommand{\includegraphics}[2][]{\Oldincludegraphics[width=\ScaleIfNeeded]{#2}}
66$endif$
67$endif$
67
68
68% Comment these out if you don't want a slide with just the
69% Comment these out if you don't want a slide with just the