diff options
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/default.latex | 5 | ||||
-rw-r--r-- | data/templates/default.ms | 5 | ||||
-rw-r--r-- | data/templates/default.revealjs | 5 |
3 files changed, 14 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index 7f2d72340..31093374f 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -7,6 +7,11 @@ $endif$$if(dir)$$if(latex-dir-rtl)$ $endif$$endif$% \documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(papersize)$$papersize$paper,$endif$$if(beamer)$ignorenonframetext,$if(handout)$handout,$endif$$if(aspectratio)$aspectratio=$aspectratio$,$endif$$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$} $if(beamer)$ +$if(background-image)$ +\usebackgroundtemplate{% +\includegraphics[width=\paperwidth]{$background-image$}% +} +$endif$ \usepackage{pgfpages} \setbeamertemplate{caption}[numbered] \setbeamertemplate{caption label separator}{: } diff --git a/data/templates/default.ms b/data/templates/default.ms index f4204338a..02bbc626a 100644 --- a/data/templates/default.ms +++ b/data/templates/default.ms @@ -90,7 +90,10 @@ $for(author)$ $author$ $endfor$ $if(date)$ -.ND "$date$" +.AU +.sp 0.5 +.ft R +$date$ $endif$ $if(abstract)$ .AB diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs index 65ab09049..6f847e23a 100644 --- a/data/templates/default.revealjs +++ b/data/templates/default.revealjs @@ -197,6 +197,11 @@ $endif$ $if(parallaxBackgroundImage)$ // Parallax background image parallaxBackgroundImage: '$parallaxBackgroundImage$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'" +$else$ +$if(background-image)$ + // Parallax background image + parallaxBackgroundImage: '$background-image$', // e.g. "'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg'" +$endif$ $endif$ $if(parallaxBackgroundSize)$ // Parallax background size |