aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorÉtienne BERSAC <bersace03@gmail.com>2018-03-30 18:20:06 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-30 09:20:06 -0700
commit7f97b04862ffbe2bb9efaa648eee284f7949d20d (patch)
treebb4cb1e44b42944daa642edbf676e23ff4963efb /data
parent2d414321df446f3f918c85848d6958bd46800c5b (diff)
downloadpandoc-7f97b04862ffbe2bb9efaa648eee284f7949d20d.tar.gz
Add -V beameroption variable (#4359)
* LaTeX template: Use `pgfpages` package; this is needed for notes on second screen in beamer * LaTeX template: Add `beameroption` variable in template
Diffstat (limited to 'data')
-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 e989f27d9..7f2d72340 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -7,10 +7,14 @@ $endif$$if(dir)$$if(latex-dir-rtl)$
$endif$$endif$%
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$if(beamer)$ignorenonframetext,$if(handout)$handout,$endif$$if(aspectratio)$aspectratio=$aspectratio$,$endif$$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
$if(beamer)$
+\usepackage{pgfpages}
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{caption label separator}{: }
\setbeamercolor{caption name}{fg=normal text.fg}
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
+$for(beameroption)$
+\setbeameroption{$beameroption$}
+$endfor$
$endif$
$if(beamerarticle)$
\usepackage{beamerarticle} % needs to be loaded first