1
0
mirror of https://github.com/eddelbuettel/binb synced 2024-12-22 04:29:59 +01:00

style and sample tweaks for presento

This commit is contained in:
Dirk Eddelbuettel 2018-09-24 19:25:16 -05:00
parent 002dd4cc69
commit 7ce49f6cf1
3 changed files with 19 additions and 13 deletions

View File

@ -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

View File

@ -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}{

View File

@ -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)