Tufte's Styles for R Markdown Documents

Provides R Markdown output formats to use Tufte styles for PDF and HTML output.


tufte

CRANstatus Downloads from the RStudio CRANmirror R-CMD-check Codecov testcoverage

This R package provides a few R Markdown output formats that use the Tufte style. See https://rstudio.github.io/tufte/ for a comprehensive example.

Books

R Markdown: The Definitive Guide

See about the Tufte Handouts format in R Markdown Definitive Guide

Installation

You can install the last available released version from CRAN

install.packages('tufte')

You can also install the development version of tufte from GitHub with:

# install.packages("pak")
pak::pak("rstudio/tufte")

Usage

The easiest way to make a new R Markdown document using Tufte style is from within RStudio. Go to File > New File > R Markdown > From template > Tufte Handout.

This can also be created from the command line using

rmarkdown::draft("tufte.Rmd", "tufte_html", "tufte")

Getting help

There are two main places to get help:

  1. The RStudio community is a friendly place to ask any questions about rmarkdown and the R Markdown family of packages. Use tag tufte in your post.

  2. Stack Overflow is a great source of answers to common rmarkdown questions. It is also a great place to get help, once you have created a reproducible example that illustrates your problem.

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("tufte")

0.15.0 by Christophe Dervieux, 5 months ago


https://github.com/rstudio/tufte


Report a bug at https://github.com/rstudio/tufte/issues


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


Authors: Yihui Xie [aut] , Christophe Dervieux [ctb, cre] (ORCID: , JJ Allaire [aut] , Andrzej Oles [ctb] , Dave Liepmann [ctb] (Tufte CSS in inst/rmarkdown/templates/tufte_html/resources) , Posit Software , PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)


Documentation:   PDF Manual  


GPL-3 license


Imports htmltools, knitr, rmarkdown, xfun

Suggests xml2, bookdown, covr, testthat, tinytex, withr


Depended on by qeML.

Suggested by CHNOSZ, PowerTOST, bookdown, chronicle, evalR, lintr, nipnTK, recmap, repoRter.nih, secuTrialR.


See at CRAN