aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-05-07 17:31:14 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2013-05-07 17:31:14 -0700
commit6252cbc786d749c80773d82e434740a3b1bcf4f2 (patch)
tree6de12eb13f68a3dacc1e8cf846219022ff397452
parent7a93757ff12f6ada1309c63dfc6e7ec5b7627762 (diff)
downloadpandoc-6252cbc786d749c80773d82e434740a3b1bcf4f2.tar.gz
default.beamer: Added comment to graphics section.
-rw-r--r--default.beamer4
1 files changed, 4 insertions, 0 deletions
diff --git a/default.beamer b/default.beamer
index 120bd81f3..5455cf804 100644
--- a/default.beamer
+++ b/default.beamer
@@ -53,6 +53,10 @@ $if(url)$
$endif$
$if(graphics)$
\usepackage{graphicx}
+% Redefine \includegraphics so that, unless explicit options are
+% given, the image width will not exceed the width of the page.
+% Images get their normal width if they fit onto the page, but
+% are scaled down if they would overflow the margins.
\makeatletter
\def\ScaleIfNeeded{%
\ifdim\Gin@nat@width>\linewidth