diff options
Diffstat (limited to 'default.beamer')
-rw-r--r-- | default.beamer | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/default.beamer b/default.beamer index fffd02d39..0926768e1 100644 --- a/default.beamer +++ b/default.beamer @@ -53,6 +53,16 @@ $if(url)$ $endif$ $if(graphics)$ \usepackage{graphicx} +\makeatletter +\def\ScaleIfNeeded{% + \ifdim\Gin@nat@width>\linewidth + \linewidth + \else + \Gin@nat@width + \fi +} +\makeatother +\setkeys{Gin}{width=\ScaleIfNeeded} $endif$ % Comment these out if you don't want a slide with just the % part/section/subsection/subsubsection title: |