diff options
author | Václav Haisman <vhaisman@gmail.com> | 2017-06-05 15:52:36 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-06-05 15:52:36 +0200 |
commit | 4bae307616de5688983b55cbec1819c2e2864c6e (patch) | |
tree | db768c01f4afc0b960bdda9ae582b3ea376c8241 | |
parent | 2d0151d14baa4778dbb1a6cb5c1c0f955e51035b (diff) | |
download | pandoc-4bae307616de5688983b55cbec1819c2e2864c6e.tar.gz |
Added aspectratio variable to beamer template (#3723).
* Transplant jgm/pandoc-templates#236 to Pandoc repository.
* Document `aspectratio` in user manual.
* Enumerate possible values for `aspectratio`.
-rw-r--r-- | MANUAL.txt | 5 | ||||
-rw-r--r-- | data/templates/default.beamer | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 2cd35d14d..df08e4b40 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -1339,6 +1339,11 @@ including all [reveal.js configuration options]. : color for internal links, citation links, external links, and links in table of contents: uses any of the [predefined LaTeX colors] (for beamer only). +`aspectratio` +: aspect ratio of slides (for beamer only, `1610` for 16:10, `169` for 16:9, + `149` for 14:9, `141` for 1.41:1, `54` for 5:4, `43` for 4:3 which is the + default, and `32` for 3:2). + [reveal.js configuration options]: https://github.com/hakimel/reveal.js#configuration Variables for LaTeX diff --git a/data/templates/default.beamer b/data/templates/default.beamer index fb02cb058..c9d30b657 100644 --- a/data/templates/default.beamer +++ b/data/templates/default.beamer @@ -1,4 +1,4 @@ -\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} +\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$$if(aspectratio)$aspectratio=$aspectratio$,$endif$]{$documentclass$} \setbeamertemplate{caption}[numbered] \setbeamertemplate{caption label separator}{: } \setbeamercolor{caption name}{fg=normal text.fg} |