How to set the aspect ratio of beamer slides created using Rmarkdown
in Rstudio to 16:9? It does not seem to be a standard option. I tried changing the \documentclass{}
options using a header.tex
insert but this was not successful.
-
1Have you read this: stackoverflow.com/questions/34814100/…– J_FMar 9, 2017 at 12:53
-
No I did not. Thanks for pointing me to it! After reading it, I tried classoption: aspectratio=169. This did not result in an error but also not in a 16:9 presentation– Julian KarchMar 9, 2017 at 17:44
-
1Show us your YAML header.– J_FMar 9, 2017 at 18:20
Add a comment
|
1 Answer
Put the option in double quotes:
output:
beamer_presentation:
classoption: "aspectratio=169"
Notice that classoption
keyword is at the same level with output
.
- pandoc 1.19
- texlive 2015
- knitr 1.17
- rmarkdown 1.6