diff --git a/ChangeLog b/ChangeLog index 684e57e..6660444 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2018-09-24 Dirk Eddelbuettel <edd@debian.org> + * inst/rmarkdown/templates/presento/skeleton/presento.sty: Tweaks + * inst/rmarkdown/templates/presento/skeleton/skeleton.Rmd: Ditto + * inst/presentoDemo/presentoDemo.Rmd: Longer demo * inst/presentoDemo/presentoDemo.pdf: Ditto diff --git a/inst/rmarkdown/templates/presento/skeleton/presento.sty b/inst/rmarkdown/templates/presento/skeleton/presento.sty index 26f31ef..1270e89 100644 --- a/inst/rmarkdown/templates/presento/skeleton/presento.sty +++ b/inst/rmarkdown/templates/presento/skeleton/presento.sty @@ -28,10 +28,11 @@ % font families % DEdd: removed path, set Lato to 'Lato-Light', set Montserrat to Bold +% also set AlegreyaSansSC font for lato and inconsolate \newfontfamily{\montserratfont}[BoldFont=Montserrat-Bold]{Montserrat-Bold} \newfontfamily{\notosansfont}[BoldFont=NotoSans-Bold,ItalicFont=NotoSans-Italic,BoldItalicFont=NotoSans-BoldItalic,SmallCapsFont=AlegreyaSansSC-Regular]{NotoSans-Regular} -\newfontfamily{\latolightfont}{Lato-Light} -\newfontfamily{\inconsolatafont}{Inconsolata} +\newfontfamily{\latolightfont}[SmallCapsFont=AlegreyaSansSC-Regular]{Lato-Light} +\newfontfamily{\inconsolatafont}[SmallCapsFont=AlegreyaSansSC-Regular]{Inconsolata} % beamer template changes \setbeamertemplate{frametitle}{ diff --git a/inst/rmarkdown/templates/presento/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/presento/skeleton/skeleton.Rmd index 00cdd5a..20435e3 100644 --- a/inst/rmarkdown/templates/presento/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/presento/skeleton/skeleton.Rmd @@ -9,18 +9,18 @@ output: binb::presento ## Presento -- \begin{center}\largetext{The design is \underline{clean}}\end{center} -- \item \begin{center}\largetext{The rules are \underline{simple}}\end{center} +- \begin{center}\largetext{The design is \underline{clean}}\end{center} \bigskip +- \begin{center}\largetext{The rules are \underline{simple}}\end{center} \bigskip - \item \begin{center}\largetext{The code is \underline{extensible}}\end{center} ## Open Source Fonts -- \montserratfont This is Montserrat -- \notosansfont This is Noto Sans -- \latolightfont This is Lato (light) -- \inconsolatafont This is inconsolata -- \textsc{This is Alegreya Sans small caps} +- \montserratfont This is \textsc{Montserrat} \bigskip +- \notosansfont This is \textsc{Noto Sans} \bigskip +- \latolightfont This is Lato (light) \bigskip +- \inconsolatafont This is inconsolata \bigskip +- \textsc{This is Alegreya Sans small caps} \bigskip ## Color Palette @@ -31,12 +31,14 @@ output: binb::presento ____ -\setbeamercolor{background canvas}{bg=\colorgreen} -\centering{\hugetext{BIG BOLD TEXT} \bigskip \tiny but background color does not work} +\begin{center} + \hugetext{BIG BOLD TEXT} + \medskip + \small but background color does not work +\end{center} +____ ----- -<!-- maybe this could be wrapped into one latex command --> \tikz[overlay,remember picture] \node[opacity=0.8, at=(current page.center)]{% \includegraphics[width=\paperwidth]{images/skeleton}}; \begin{textblock}{7}(7,2.5)