Tufte-style html document format for rmarkdown

Custom template and output formats for use with rmarkdown. Produce Edward Tufte-style handouts in html formats with full support for rmarkdown features


Output formats for Tufte-style handouts in html for Rmarkdown. See it in action here http://sachsmc.github.io/tufterhandout.

From CRAN

install.packages("tufterhandout")

Or from Github:

devtools::install_github("tufterhandout", "sachsmc")

When authoring a document in rmarkdown, simply specify the output format in the front-matter:

output: 
    tufterhandout::html_tufte_handout

In html, sidenotes are created with the tag <aside></aside>. You can even put code chunks in aside. Margin figures use the knitr option marginfigure = TRUE and full width figures use the knitr option fig.star = TRUE. Make use of the fig.cap option to specify the figure captions.

See the help files for complete options and see the homepage for an example. Options can be passed via the header:

output: 
    tufterhandout::html_tufte_handout:
        keep_md: true
        theme: cerulean

News

  • Fix path issue on windows
  • Add tests
  • Massive code simplification
  • No more dependency on htmltools
  • Removed pdf_tufte_handout because that is included with rmarkdown
  • fix to be compatible with htmltools_0.2.6

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("tufterhandout")

1.2.1 by Michael C Sachs, 2 years ago


http://sachsmc.github.io/tufterhandout


Report a bug at http://github.com/sachsmc/tufterhandout/issues


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


Authors: Michael C Sachs


Documentation:   PDF Manual  


Task views: Reproducible Research


MIT + file LICENSE license


Depends on rmarkdown, knitr, utils

Suggests ggplot2, testthat


See at CRAN