diff options
author | Étienne BERSAC <bersace03@gmail.com> | 2018-03-30 18:20:06 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-03-30 09:20:06 -0700 |
commit | 7f97b04862ffbe2bb9efaa648eee284f7949d20d (patch) | |
tree | bb4cb1e44b42944daa642edbf676e23ff4963efb /data | |
parent | 2d414321df446f3f918c85848d6958bd46800c5b (diff) | |
download | pandoc-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.latex | 4 |
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 |