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`.
This commit is contained in:
parent
2d0151d14b
commit
4bae307616
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue