aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.latex3
1 files changed, 3 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index 0c5ca20a1..e12002651 100644
--- a/default.latex
+++ b/default.latex
@@ -58,6 +58,8 @@ $if(url)$
$endif$
$if(graphics)$
\usepackage{graphicx}
+$if(beamer)$
+$else$
% We will generate all images so they have a width \maxwidth. This means
% that they will get their normal width if they fit onto the page, but
% are scaled down if they would overflow the margins.
@@ -68,6 +70,7 @@ $if(graphics)$
\let\Oldincludegraphics\includegraphics
\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}
$endif$
+$endif$
$if(beamer)$
% Comment these out if you don't want a slide with just the
% part/section/subsection/subsubsection title: