mirror of
https://github.com/eddelbuettel/binb
synced 2024-12-22 12:39:58 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
f8936d7b0e
40
ChangeLog
40
ChangeLog
@ -1,3 +1,41 @@
|
|||||||
|
2019-06-23 Dirk Eddelbuettel <edd@debian.org>
|
||||||
|
|
||||||
|
* DESCRIPTION (Version, Date): Release 0.0.4
|
||||||
|
|
||||||
|
2019-06-20 Joseph Stachelek <stachel2@msu.edu>
|
||||||
|
|
||||||
|
* inst/rmarkdown/templates/presento/resources/template.tex: Correctly
|
||||||
|
pull date from Rmd rather than hardcode today
|
||||||
|
|
||||||
|
2019-05-03 Johan Larson <mail@larssonjohan.com>
|
||||||
|
|
||||||
|
* inst/rmarkdown/templates/iqss/resources/templates.tex: Support
|
||||||
|
beameroptions, use pgfpages if present
|
||||||
|
* inst/rmarkdown/templates/metropolis/resources/templates.tex: Idem
|
||||||
|
* inst/rmarkdown/templates/monash/resources/templates.tex: Idem
|
||||||
|
|
||||||
|
* vignettes/metropolisDemo.Rmd: Use beamperoption to show notes
|
||||||
|
* vignettes/metropolisDemo.pdf: Idem
|
||||||
|
|
||||||
|
2019-03-26 Dirk Eddelbuettel <edd@debian.org>
|
||||||
|
|
||||||
|
* README.md: Add dependencies badge
|
||||||
|
|
||||||
|
2019-02-24 Rob Hyndman <rob.hyndman@monash.edu>
|
||||||
|
|
||||||
|
* inst/rmarkdown/templates/monash/resources/template.tex: Header
|
||||||
|
includes moved to later in file, outline header can be changed, a
|
||||||
|
tightoc option was added
|
||||||
|
* inst/monashDemo/monashDemo.Rmd: Added
|
||||||
|
* inst/monashDemo/monashDemo.pdf: Idem
|
||||||
|
|
||||||
|
2018-11-21 Rob Hyndman <rob.hyndman@monash.edu>
|
||||||
|
|
||||||
|
* inst/rmarkdown/templates/monash/: Improved colortheme handling for
|
||||||
|
Monash theme, also improved spacing in table of contents
|
||||||
|
* R/binb.R: Updated for colortheme selection for Monash
|
||||||
|
* man/metropolis.Rd: Idem
|
||||||
|
|
||||||
2018-10-15 Dirk Eddelbuettel <edd@debian.org>
|
2018-10-15 Dirk Eddelbuettel <edd@debian.org>
|
||||||
|
|
||||||
* README.md: Small touchups
|
* README.md: Small touchups
|
||||||
@ -21,7 +59,7 @@
|
|||||||
|
|
||||||
2018-10-09 Rob Hyndman <rob.hyndman@monash.edu>
|
2018-10-09 Rob Hyndman <rob.hyndman@monash.edu>
|
||||||
|
|
||||||
* Added Monash theme
|
* inst/rmarkdown/templates/monash/: Added Monash theme
|
||||||
|
|
||||||
2018-10-02 Ista Zahn <istazahn@gmail.com>
|
2018-10-02 Ista Zahn <istazahn@gmail.com>
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Package: binb
|
Package: binb
|
||||||
Type: Package
|
Type: Package
|
||||||
Title: 'binb' is not 'Beamer'
|
Title: 'binb' is not 'Beamer'
|
||||||
Version: 0.0.3
|
Version: 0.0.4
|
||||||
Date: 2018-10-12
|
Date: 2019-06-23
|
||||||
Author: Dirk Eddelbuettel, Ista Zahn and Rob Hyndman
|
Author: Dirk Eddelbuettel, Ista Zahn and Rob Hyndman
|
||||||
Maintainer: Dirk Eddelbuettel <edd@debian.org>
|
Maintainer: Dirk Eddelbuettel <edd@debian.org>
|
||||||
Description: A collection of 'LaTeX' styles using 'Beamer' customization for
|
Description: A collection of 'LaTeX' styles using 'Beamer' customization for
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
## binb [![Build Status](https://travis-ci.org/eddelbuettel/binb.svg)](https://travis-ci.org/eddelbuettel/binb) [![Package-License](http://img.shields.io/badge/license-GPL--2-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl-2.0.html) [![CRAN](http://www.r-pkg.org/badges/version/binb)](https://cran.r-project.org/package=binb) [![Downloads](http://cranlogs.r-pkg.org/badges/binb?color=brightgreen)](http://www.r-pkg.org/pkg/binb)
|
## binb [![Build Status](https://travis-ci.org/eddelbuettel/binb.svg)](https://travis-ci.org/eddelbuettel/binb) [![Package-License](http://img.shields.io/badge/license-GPL--2-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl-2.0.html) [![CRAN](http://www.r-pkg.org/badges/version/binb)](https://cran.r-project.org/package=binb) [![Dependencies](https://tinyverse.netlify.com/badge/binb)](https://cran.r-project.org/package=binb) [![Downloads](http://cranlogs.r-pkg.org/badges/binb?color=brightgreen)](http://www.r-pkg.org/pkg/binb)
|
||||||
|
|
||||||
Binb is not Beamer: Stylish pdf Presentations from RMarkdown
|
Binb is not Beamer: Stylish pdf Presentations from RMarkdown
|
||||||
|
|
||||||
|
14
inst/NEWS.Rd
14
inst/NEWS.Rd
@ -3,6 +3,20 @@
|
|||||||
\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.4 (2018-06-23)}{
|
||||||
|
\itemize{
|
||||||
|
\item The Monash theme now has improved color theme handling (Rob
|
||||||
|
Hyndman in \ghpr{15})
|
||||||
|
\item The Monash them has a demo, a new \code{tighttoc} option and
|
||||||
|
other small improvements (Rob Hyndman in \ghpr{16}).
|
||||||
|
\item A slide notes example was added to Metropolis, pgfpages can be
|
||||||
|
used if present, \code{beameroption} was added to three templates
|
||||||
|
(Johan Larsson in \ghpr{17}).
|
||||||
|
\item The Presento them now use the date from the yaml header
|
||||||
|
(Joseph Stachelek in \ghpr{18})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
\section{Changes in binb version 0.0.3 (2018-10-12)}{
|
\section{Changes in binb version 0.0.3 (2018-10-12)}{
|
||||||
\itemize{
|
\itemize{
|
||||||
\item The IQSS theme now has a fallback font if Libertinus is
|
\item The IQSS theme now has a fallback font if Libertinus is
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
\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(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
||||||
|
\IfFileExists{pgfpages.sty}{\usepackage{pgfpages}}{}
|
||||||
\setbeamertemplate{caption}[numbered]
|
\setbeamertemplate{caption}[numbered]
|
||||||
\setbeamertemplate{caption label separator}{: }
|
\setbeamertemplate{caption label separator}{: }
|
||||||
\setbeamercolor{caption name}{fg=normal text.fg}
|
\setbeamercolor{caption name}{fg=normal text.fg}
|
||||||
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
|
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
|
||||||
|
$for(beameroption)$
|
||||||
|
\setbeameroption{$beameroption$}
|
||||||
|
$endfor$
|
||||||
$if(fontfamily)$
|
$if(fontfamily)$
|
||||||
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
||||||
$else$
|
$else$
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
\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(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
||||||
|
\IfFileExists{pgfpages.sty}{\usepackage{pgfpages}}{}
|
||||||
\setbeamertemplate{caption}[numbered]
|
\setbeamertemplate{caption}[numbered]
|
||||||
\setbeamertemplate{caption label separator}{: }
|
\setbeamertemplate{caption label separator}{: }
|
||||||
\setbeamercolor{caption name}{fg=normal text.fg}
|
\setbeamercolor{caption name}{fg=normal text.fg}
|
||||||
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
|
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
|
||||||
|
$for(beameroption)$
|
||||||
|
\setbeameroption{$beameroption$}
|
||||||
|
$endfor$
|
||||||
$if(fontfamily)$
|
$if(fontfamily)$
|
||||||
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
||||||
$else$
|
$else$
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
\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$,$else$14pt,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
\documentclass[$if(fontsize)$$fontsize$,$else$14pt,$endif$$if(lang)$$babel-lang$,$endif$$if(handout)$handout,$endif$$if(colorlinks)$dvipsnames,$endif$$if(beamer)$ignorenonframetext,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
|
||||||
|
\IfFileExists{pgfpages.sty}{\usepackage{pgfpages}}{}
|
||||||
\setbeamertemplate{caption}[numbered]
|
\setbeamertemplate{caption}[numbered]
|
||||||
\setbeamertemplate{caption label separator}{: }
|
\setbeamertemplate{caption label separator}{: }
|
||||||
\setbeamercolor{caption name}{fg=normal text.fg}
|
\setbeamercolor{caption name}{fg=normal text.fg}
|
||||||
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
|
\beamertemplatenavigationsymbols$if(navigation)$$navigation$$else$empty$endif$
|
||||||
|
$for(beameroption)$
|
||||||
|
\setbeameroption{$beameroption$}
|
||||||
|
$endfor$
|
||||||
$if(fontfamily)$
|
$if(fontfamily)$
|
||||||
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
\usepackage[$for(fontfamilyoptions)$$fontfamilyoptions$$sep$,$endfor$]{$fontfamily$}
|
||||||
$else$
|
$else$
|
||||||
|
@ -249,7 +249,7 @@ $if(author)$
|
|||||||
$if(address)$ \\\setnote{$address$} $endif$
|
$if(address)$ \\\setnote{$address$} $endif$
|
||||||
}
|
}
|
||||||
$endif$
|
$endif$
|
||||||
\newcommand{\myDetails}{\setnote{\today}}
|
\newcommand{\myDetails}{\setnote{$date$}}
|
||||||
|
|
||||||
%sty file
|
%sty file
|
||||||
%\usepackage{config/presento}
|
%\usepackage{config/presento}
|
||||||
|
@ -11,6 +11,7 @@ output:
|
|||||||
in_header: metropolis/header.tex
|
in_header: metropolis/header.tex
|
||||||
bibliography: metropolis/demo.bib
|
bibliography: metropolis/demo.bib
|
||||||
biblio-style: abbrvnat
|
biblio-style: abbrvnat
|
||||||
|
beameroption: "show notes"
|
||||||
toc: true
|
toc: true
|
||||||
vignette: >
|
vignette: >
|
||||||
%\VignetteIndexEntry{binb Metropolis Demo}
|
%\VignetteIndexEntry{binb Metropolis Demo}
|
||||||
@ -325,6 +326,39 @@ Some references \citep{knuth92,ConcreteMath,Simpson,Er01,greenwade93}
|
|||||||
\scriptsize `allowframebreaks` is not used or needed, also changed `\cite` to
|
\scriptsize `allowframebreaks` is not used or needed, also changed `\cite` to
|
||||||
`\citep`, and defaulted `natbib` to option `[round]`.
|
`\citep`, and defaulted `natbib` to option `[round]`.
|
||||||
|
|
||||||
|
## Notes
|
||||||
|
|
||||||
|
Notes can be added either using latex syntax:
|
||||||
|
|
||||||
|
```
|
||||||
|
\note{
|
||||||
|
\begin{itemize}
|
||||||
|
\item \emph{This} is a note.
|
||||||
|
\end{itemize}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
\note{
|
||||||
|
\begin{itemize}
|
||||||
|
\item \emph{This} is a note.
|
||||||
|
\end{itemize}
|
||||||
|
}
|
||||||
|
|
||||||
|
or with pandoc (markdown) syntax:
|
||||||
|
|
||||||
|
```
|
||||||
|
<div class = "notes">
|
||||||
|
- This is *another* note.
|
||||||
|
</div>
|
||||||
|
```
|
||||||
|
|
||||||
|
<div class = "notes">
|
||||||
|
- This is *another* note.
|
||||||
|
</div>
|
||||||
|
|
||||||
|
The display of the notes is controlled using the YAML argument `beameroption`.
|
||||||
|
Here we have used `beameroption: "show notes"`.
|
||||||
|
|
||||||
# Conclusion
|
# Conclusion
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user