1
0
mirror of https://github.com/eddelbuettel/binb synced 2024-12-22 04:29:59 +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>
* 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{\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)}{
\itemize{
\item Initial CRAN release supporting Metropolis and IQSS

View File

@ -1,6 +1,6 @@
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere
\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)$
\usepackage{beamerarticle} % needs to be loaded first
$endif$
@ -28,7 +28,8 @@ $endif$
\else
\usepackage{fontspec}
\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)$
\newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$}
$endfor$

View File

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