From 4844765aa3fe549d9a2dd1a82f2d2d98694ed302 Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Sun, 23 Sep 2018 17:57:56 -0500 Subject: [PATCH] two template.tex adjustments --- inst/rmarkdown/templates/presento/resources/template.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inst/rmarkdown/templates/presento/resources/template.tex b/inst/rmarkdown/templates/presento/resources/template.tex index 15978e0..6a8fc99 100644 --- a/inst/rmarkdown/templates/presento/resources/template.tex +++ b/inst/rmarkdown/templates/presento/resources/template.tex @@ -1,6 +1,6 @@ \PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere \PassOptionsToPackage{hyphens}{url} -\documentclass[$if(fontsize)$$fontsize,$$else$14pt,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} +\documentclass[$if(fontsize)$$fontsize$,$else$14pt,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} $if(beamerarticle)$ \usepackage{beamerarticle} % needs to be loaded first $endif$ @@ -245,9 +245,9 @@ $if(title)$ } $endif$ $if(author)$ -\newcommand{\myName}{\largetext{\color{orange}{$for(author)$$author$$sep$ \and $endfor$} +\newcommand{\myName}{\largetext{\color{orange}{$for(author)$$author$$sep$ \and $endfor$}} $if(address)$ \\\setnote{$address$} $endif$ -}} +} $endif$ \newcommand{\myDetails}{\setnote{\today}}