git.iko.soy/typeable/pandoc
on master help sign in
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`.

commit4bae307616de5688983b55cbec1819c2e2864c6e authorVáclav Haisman <vhaisman@gmail.com> dateMon 5 Jun 2017, 15:52 (9 years ago) parent2d0151d
2 files changed+6−1
MANUAL.txt+5 data/templates/default.beamer+1−1
MANUAL.txt+5
@@ -1339,6 +1339,11 @@ including all [reveal.js configuration options].
13391339: color for internal links, citation links, external links, and links in table
13401340 of contents: uses any of the [predefined LaTeX colors] (for beamer only).
13411341
1342+`aspectratio`
1343+: aspect ratio of slides (for beamer only, `1610` for 16:10, `169` for 16:9,
1344+ `149` for 14:9, `141` for 1.41:1, `54` for 5:4, `43` for 4:3 which is the
1345+ default, and `32` for 3:2).
1346+
13421347[reveal.js configuration options]: https://github.com/hakimel/reveal.js#configuration
13431348
13441349Variables for LaTeX
data/templates/default.beamer+1−1
@@ -1,4 +1,4 @@
1−\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$}
1+\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$}
22\setbeamertemplate{caption}[numbered]
33\setbeamertemplate{caption label separator}{: }
44\setbeamercolor{caption name}{fg=normal text.fg}