# 'binb' is not 'Beamer'

A collection of 'LaTeX' styles using 'Beamer' customization for pdf-based presentation slides in 'RMarkdown'. At present it contains 'RMarkdown' adaptations of the LaTeX themes 'Metropolis' (formerly 'mtheme') theme by Matthias Vogelgesang and others (now included in 'TeXLive'), the 'IQSS' by Ista Zahn (which is included here), and the 'Monash' theme by Rob J Hyndman. Additional (free) fonts may be needed: 'Metropolis' prefers 'Fira', and 'IQSS' requires 'Libertinus'.

Binb is not Beamer: Stylish pdf Presentations from RMarkdown

### Motivation

The Beamer package is very popular for making pdf presentations from LaTeX, and also supported from Markdown and RMarkdown. This package (currently) provides functionality to use the following custom (LaTeX) themes for Beamer directly via RMarkdown:

The original LaTeX styles been converted to be directly useable from RMarkdown

### Examples

#### Metropolis

Consider the following minimal example, adapted from the original minimal example at the bottom of the Metropolis page:

It creates a three-page pdf file which we converted into this animated gif

#### IQSS

Similarly, for IQSS we use the following input adapting the example above but showing sections and subsections for the nice headings it generates:

This creates this pdf file which we converted into this animated gif:

#### Presento

The following small example adapted some of the slides from original minimal example from the Presento repo:

From this, one can creats this pdf file which can be converted into this animated gif:

### Monash

Below is an example of the Monash Business School theme by Rob Hyndman. (The source is a little longer and included in the repo and package so not shown here.)

### Status

The package is fairly new and susceptible to change, but on CRAN.

### Usage

The package is on CRAN and can be installed via a standard

and can then be used as a Markdown template via RStudio, or via code such as

to create a first draft of a new myslides.Rmd.

Once installed, the above code examples should work as expected.

### Requirements

Beyond the R package dependencies, a working pandoc binary is needed. RStudio installs its own copy, otherwise do what is needed on your OS (i.e., something like sudo apt-get install pandoc pandoc-citeproc).

The Metropolis LaTeX package is used, but we assume that is is installed via TeXLive, MikTeX or another LaTeX bundle. The LaTeX code for the IQSS Beamer Theme and the Presento Theme are included (and adapted for RMarkdown use).

These themes use additional (free) fonts you may need to install:

If you use Debian or Ubuntu, you can use the informal font packages I created for Fira and Fira Sans, Libertinus, Montserrat, Alegreya Sans, respectively.

Most modern desktop systems make it easy to install additional fonts as a user. However, instructions vary so please see for your particular system.

### Authors

Dirk Eddelbuettel, Ista Zahn and Rob Hyndman

GPL (>= 2) for this package.

# Reference manual

install.packages("binb")

0.0.6 by Dirk Eddelbuettel, a year ago

https://github.com/eddelbuettel/binb

Report a bug at https://github.com/eddelbuettel/binb/issues

Browse source code at https://github.com/cran/binb

Authors: Dirk Eddelbuettel , Ista Zahn and Rob Hyndman

Documentation:   PDF Manual