Skip to content

koncina/iosp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 24, 2017 17:43
February 1, 2018 11:02
February 7, 2018 09:11

IOSlides Plus

The goal of iosp is to extend ioslides_presentation mainly using a customized css.

The main features are:

  • easily create boxes with optional titles in the bootstrap fashion using third level headers (###)
  • adjust the width and horizontal position (offset) of boxes
  • define custom box background colours
  • specify alignment of adjacent boxes (top / middle / bottom)
  • prettier code highlighting
  • easy footer with hyperlink

Installation

You can install iosp from github with:

# install.packages("devtools")
devtools::install_github("koncina/iosp")

Demo template

In Rstudio, create a new Rmd > From template > IOSlides Plus

The following Rmd code

## Slide with columns and boxes

IOSlides Plus extends `ioslides_presentation` and allows to easily create boxes:

### Box 1{.box-4 .bg-red}

Test 1

### Box 2{.box-6 .bg-green}

- line 1
- line 2

### Box 3{.box-6 .bg-blue}

This box has again a width of 6 col: it will be rendered in a new row.

%end%

We are able to exit the box, column and row using the keyword `%end%`.

will produce the output:

Custom colours

see example with box_colour

Box colours gallery

see example with box_colour_gallery