Fix using Beamer with geometry (#5505)
Beamer already loads geometry, so we need to use the `\geometry` command to set geometry options.
This commit is contained in:
parent
8b00bc6029
commit
d286363f97
1 changed files with 4 additions and 0 deletions
|
@ -229,8 +229,12 @@ $if(verbatim-in-note)$
|
||||||
\VerbatimFootnotes % allow verbatim text in footnotes
|
\VerbatimFootnotes % allow verbatim text in footnotes
|
||||||
$endif$
|
$endif$
|
||||||
$if(geometry)$
|
$if(geometry)$
|
||||||
|
$if(beamer)$
|
||||||
|
\geometry{$for(geometry)$$geometry$$sep$,$endfor$}
|
||||||
|
$else$
|
||||||
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
||||||
$endif$
|
$endif$
|
||||||
|
$endif$
|
||||||
$if(beamer)$
|
$if(beamer)$
|
||||||
\newif\ifbibliography
|
\newif\ifbibliography
|
||||||
$endif$
|
$endif$
|
||||||
|
|
Loading…
Reference in a new issue