git.iko.soy/typeable/pandoc
on master help sign in
LaTeX: Don't include \maxwidth in beamer.
b8385d8John MacFarlane
default.latex+3
@@ -58,6 +58,8 @@ $if(url)$
58$endif$
58$endif$
59$if(graphics)$
59$if(graphics)$
60\usepackage{graphicx}
60\usepackage{graphicx}
61+$if(beamer)$
62+$else$
61% We will generate all images so they have a width \maxwidth. This means
63% We will generate all images so they have a width \maxwidth. This means
62% that they will get their normal width if they fit onto the page, but
64% that they will get their normal width if they fit onto the page, but
63% are scaled down if they would overflow the margins.
65% are scaled down if they would overflow the margins.
@@ -68,6 +70,7 @@ $if(graphics)$
68\let\Oldincludegraphics\includegraphics
70\let\Oldincludegraphics\includegraphics
69\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}
71\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}
70$endif$
72$endif$
73+$endif$
71$if(beamer)$
74$if(beamer)$
72% Comment these out if you don't want a slide with just the
75% Comment these out if you don't want a slide with just the
73% part/section/subsection/subsubsection title:
76% part/section/subsection/subsubsection title: