aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Maslowski <info@orangecms.org>2019-05-15 06:18:52 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2019-05-15 00:18:52 -0400
commitd286363f972d62c51b0473a207eadfece2ce9a8d (patch)
tree4f4e5091a5c266f85bde7855944d7442a7812472
parent8b00bc6029b9285f872ae517a8d4538c66070fa9 (diff)
downloadpandoc-d286363f972d62c51b0473a207eadfece2ce9a8d.tar.gz
Fix using Beamer with geometry (#5505)
Beamer already loads geometry, so we need to use the `\geometry` command to set geometry options.
-rw-r--r--data/templates/default.latex4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index edbf95fc4..4e8911e12 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -229,8 +229,12 @@ $if(verbatim-in-note)$
\VerbatimFootnotes % allow verbatim text in footnotes
$endif$
$if(geometry)$
+$if(beamer)$
+\geometry{$for(geometry)$$geometry$$sep$,$endfor$}
+$else$
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
$endif$
+$endif$
$if(beamer)$
\newif\ifbibliography
$endif$