Explorar el Código

Use 16:9 aspect ratio for Beamer slides

Ryan C. Thompson hace 5 años
padre
commit
63163f2f47
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      Snakefile

+ 4 - 1
Snakefile

@@ -367,7 +367,9 @@ rule build_presentation:
     output:
         pdf='{basename,presentation.*}.pdf'
     params:
-        theme='Warsaw'
+        # https://pandoc.org/MANUAL.html#variables-for-beamer-slides
+        theme='Warsaw',
+        aspectratio='169',
     shell: '''
     pandoc \
       -f markdown -t beamer \
@@ -375,6 +377,7 @@ rule build_presentation:
       -o {output.pdf:q} \
       -H {input.extra_preamble:q} \
       -V theme:{params.theme:q} \
+      -V aspectratio:{params.aspectratio:q} \
       {input.mkdn_file:q}
     '''