The (html and pdf) styles provided by thetufte package makeit very easy and convenient to create documents in the celebrated styleofEdward Tufte.
The clear layout, focused use of white space and unparalleled use ofthe margin for complementary information, including graphs, offer anovel and very valuable resource for typesetting.
Yet at the same time, not everybody is a fan of the yellow tint, andthe fonts. I had been looking for a while for an alternative, and cameacrossenvisionedcss by Jef Lippiat. It gets a few things very right: use of thebeautifulRobotoCondensed font along with a closer-to-white background. So Imixed this with the code framework provided by JJ and Yihui tomake it anRMarkdowntemplate you can use just by installing this package. Among the smallchanges I made were the removal ofitalics in subheaders andthe title.
Similarly, LaTeX styles exists and thetufte packagesupports both pdf handouts and a book format. We first supported the pdfhandout output only, and added support for a pdf book format in release0.1.0.
A quick screenshot of the html variant is below:

and the full underlying document isavailable too. Itssources are included in the packages ashtml/skeleton.Rmd.
Another screenshot shows the pdf handout variant:

and its underlying sources are included aspdf/skeleton.Rmd.
Here is a screenshot of the book format (which was added with release0.1.0), showing a chapter-opening page on the left:

Since release 0.1.1 additional fonts can be specified in the YAMLheader. Using the following lines in the YAML header
latexfonts:-package: newtxmathoptions:- cmintegrals- cmbraces-package: ebgaramond-maths-package: nimbusmononarrowyields output as in the following screenshot of the first twovignette pages:

A second example is using
latexfonts:-package: latooptions: default-package: FiraMonolinkcolor:"0.3,0.3,0.6"which also show thelinkcolor option resulting in

The package is now onCRAN and supportsboth pdf and html output for handouts, as well as pdf format forbook-length documents. This latter style can be used withrmarkdown orbookdown.
Install fromCRAN as anyother package via
R>install.packages("tint")and then use as a Markdown template via RStudio, or callrmarkdown::render() directly. We have also used thebook-length format viabookdown::render_book().
Beyond the R package dependencies, a workingpandocbinary is needed. RStudio installs its own copy, otherwise do what isneeded on your OS (i.e., something likesudo apt-get install pandoc pandoc-citeproc).
The pdf mode requires a fairly complete LaTeX installation. OnDebian/Ubuntu, the following packages should provide a working set:
texlive-basetexlive-binariestexlive-fonts-extratexlive-fonts-recommendedtexlive-generic-recommendedtexlive-humanitiestexlive-latex-basetexlive-latex-extratexlive-latex-recommendedtexlive-picturesand theminmpackage installing all of them.
Gwern Branwen has awide-ranging overview ofsidenotesin web design.
Dirk Eddelbuettel and Jonathan Gilligan, borrowing heavily from JJand Yihui intufte, Dave Liepmanin the underlyingtufte-css, JefLippiat inenvisioned cssand also relying on the work of theTufte-LaTeXauthors.
GPL-3 for our parts and the code fromtufte, mostly MITfor what comes from Dave Liepman and Jef Lippiat.