tintHtml(...)
tint(...)
tintPdf(fig_width = 4, fig_height = 2.5, fig_crop = TRUE, dev = "pdf", highlight = "default", ...)
newthought(text)
margin_note(text, icon = "⊕")
quote_footer(text)
sans_serif(text)pdf_document or
html_document (note you cannot use the template
argument in tintPdf or the theme argument in
tintHHtml(); these arguments have been set internally)TRUE to automatically apply the pdfcrop utility
(if available) to pdf figuresNULL to prevent syntax highlighting.tintHtml provides the HTML format based on the Tufte CSS
https://edwardtufte.github.io/tufte-css/ with fonts set according to
http://nogginfuel.com/envisioned-css/. tintPdf provides a similar
PDF format using the same font family and styling applied to the
Tufte-LaTeX https://tufte-latex.github.io/tufte-latex/ class.newthought() can be used in inline R expressions in R
Markdown (e.g. `r newthought(Some text)`), and it works for both
HTML (text) and PDF
(\newthought{text}) output.
margin_note() can be used in inline R expressions to write a
margin note (like a sidenote but not numbered).
quote_footer() formats text as the footer of a quote. It puts
text in for HTML output, and
after \hfill for LaTeX output (to right-align text).
sans_serif() applies sans-serif fonts to text.