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

presento updates bringing to closer to latex look and feel

This commit is contained in:
Dirk Eddelbuettel 2018-09-23 16:44:40 -05:00
parent cf48a9b719
commit 136ad0e214
4 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,18 @@
2018-09-23 Dirk Eddelbuettel <edd@debian.org>
* inst/rmarkdown/templates/presento/resources/template.tex: Do not
set default font feature as presento is scaled up; default to 14pt
2018-09-22 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Minor release 0.0.1.1
* R/binb.R: Code and documentation update to support presento
* man/metropolis.Rd: Idem
* inst/rmarkdown/templates/presento/: Added support files for
'presento' theme by Ratul Saha translated from LaTeX to RMarkdown
2018-09-19 Dirk Eddelbuettel <edd@debian.org> 2018-09-19 Dirk Eddelbuettel <edd@debian.org>
* DESCRIPTION (Date, Version): Initial release 0.0.1 * DESCRIPTION (Date, Version): Initial release 0.0.1

View File

@ -3,6 +3,12 @@
\newcommand{\ghpr}{\href{https://github.com/eddelbuettel/binb/pull/#1}{##1}} \newcommand{\ghpr}{\href{https://github.com/eddelbuettel/binb/pull/#1}{##1}}
\newcommand{\ghit}{\href{https://github.com/eddelbuettel/binb/issues/#1}{##1}} \newcommand{\ghit}{\href{https://github.com/eddelbuettel/binb/issues/#1}{##1}}
\section{Changes in binb version 0.0.2 (2018-xx-yy)}{
\itemize{
\item Added support for 'Presento' theme by Ratul Saha
}
}
\section{Changes in binb version 0.0.1 (2018-09-19)}{ \section{Changes in binb version 0.0.1 (2018-09-19)}{
\itemize{ \itemize{
\item Initial CRAN release supporting Metropolis and IQSS \item Initial CRAN release supporting Metropolis and IQSS

View File

@ -1,6 +1,6 @@
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere \PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
\PassOptionsToPackage{hyphens}{url} \PassOptionsToPackage{hyphens}{url}
\documentclass[$if(fontsize)$$fontsize$,$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)$ $if(beamerarticle)$
\usepackage{beamerarticle} % needs to be loaded first \usepackage{beamerarticle} % needs to be loaded first
$endif$ $endif$
@ -28,7 +28,8 @@ $endif$
\else \else
\usepackage{fontspec} \usepackage{fontspec}
\fi \fi
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase} % DEdd Commented-out for binb use as it conflicts with presento font scaling
%\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
$for(fontfamilies)$ $for(fontfamilies)$
\newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$} \newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$}
$endfor$ $endfor$

View File

@ -1,10 +1,9 @@
--- ---
author: Ratul Saha author: Ratul Saha
address: www.ratulsaha.com address: www.ratulsaha.com
title: Presento title: PRESENTO
subtitle: clean, simple and extensible subtitle: clean, simple and extensible
date: \today date: \today
fontsize: 17pt
output: binb::presento output: binb::presento
--- ---