pandoc/data/templates
John MacFarlane b2b38a6c0f beamer template: Provide \Oldincludegraphics as in LaTeX template.
The template redefines `\includegraphics` to give special treatment
for too-wide images.  But this causes problems for literal uses
of `\includegraphics`. This change allows authors to use
`\Oldincludegraphics`, as in the latex template.
2013-03-03 17:20:03 -08:00

14 lines
647 B
Text

tree d71404e86e3fdf1303b484b04b1eaa4c5c64d95a
parent 81c3b759b6e30af512ea0e81f85c8685b0366244
author Benjamin Bannier <bbannier@gmail.com> 1362346913 +0100
committer Benjamin Bannier <bbannier@gmail.com> 1362347209 +0100
Provide \Oldincludegraphics in beamer like in LaTeX
In the old solution there was no way to use a LaTeX image where only the
height was used to scale the image -- the width was always implicitly
set as well leading to wrong aspect ratios.
Provide a command \Oldincludegraphics which does just what
\includegraphics would do in the LaTeX template. That we the same input
markup could be used for beamer and LaTeX templates.