Questions tagged [tufte]

An approach to data graphics design promoted by Edward Tufte.

Edward Tufte is an influential author of books on the visual display of information. He has introduced a number of distinctively minimal styles of classic statistical graphics. His graphics attempt to maximize proportion of ink (or pixels) that is used to present data compared to the total amount of ink (or pixels) present in the graphic.

Edward Tufte's official website: http://www.edwardtufte.com/tufte/

60 questions
4
votes
1 answer

Can you have a fullwidth table in tufte_handout pdfs?

I'm using the tufte::tufte_handout class in RMarkdown/Rstduio. Is there a way to get a full-width table, as you can a full width image/plot? EDIT: Just to be clear, I know how make figures full width with the relevant chunk options. Here I want to…
bjw
  • 2,046
  • 18
  • 33
4
votes
1 answer

knitr tufte cross references fail

What is the right way to get knitr to do cross-references? The recommended approach in the documentation (see below) doesn't work for me. I am writing a book with knitr and the tufte_book template. I can't seem to get the cross references to…
MD Ward
  • 41
  • 3
3
votes
0 answers

Changing the default base format in blogdown

I'm wondering does anyone know how to correctly change the base format for a blogdown site. I want to use the tufte::tufte_html format to render my Rmd files, but I can't seem to work out how to do this correctly. Setting the output in the YAML…
Dan
  • 493
  • 4
  • 7
3
votes
1 answer

How do I put the citations at the end of a document in a tufte handout?

I'm using bookdown::tufte_html2() to create a single-document bookdown document, and while I love all the Tufte features, I'd like my citations not to clutter the margins. The tufte package documentation seems to suggest [this is…
maxheld
  • 3,963
  • 2
  • 32
  • 51
3
votes
1 answer

code chunks float into margin area with tufte markdown r

I have a problem with the tufte markdown style... Some of my code chunks are not formatted properly. The newline is not recognised and text is floating (is this the correct word?) into the side area where the comments and images…
drmariod
  • 11,106
  • 16
  • 64
  • 110
3
votes
1 answer

Tufte tables: convert quartile plots into standard error plots hacking qTable function from NMOF package

If you remember there is a nice version of table conceived by Tufte that include small quartile plots running next to the corresponding data rows: There is an implementation of such solution in R using package NMOF and function qTable, which…
Geek On Acid
  • 6,330
  • 4
  • 44
  • 64
2
votes
0 answers

How do I set up ggplot dimensions to automatically match the Quarto Tufte layout (plot area in body column, legend area in margin column)?

I use Quarto for my laboratory notebooks (my handwriting isn't very readable). I find the Tufte layout very suitable for this purpose. I am trying to automatically fit ggplots into it with a specific idea. My aim is to fit the plot area into the…
2
votes
1 answer

Define color of newthought() with Tufte style when rendering to pdf

I have no problem defining color of newthought() with Tufte style when rendering to HTML, as follows: `r newthought('The Lab Supervisor')` ... However, it does not work out when rendering to pdf. I learned to define…
pinawa
  • 129
  • 6
2
votes
2 answers

gt table alignment in tufte Rmarkdown

I am including gt tables in a Rmarkdown Tufte-style HTML. I want to align the gt tables in the center of the main column, rather than in the center of the HTML spanning both the main column and margin. I have tried using the fig.align knitr option…
2
votes
1 answer

bookdown::tufte_html_book with csl fails to place citation in margin

bookdown::tufte_html_book does not place citation in margin for csl with note. For example: bookdown::render_book(input = "index.rmd", output_format = "bookdown::tufte_html_book") with csl from:…
ssp3nc3r
  • 3,662
  • 2
  • 13
  • 23
2
votes
1 answer

DT::datatable in main column in Tufte html output

I am trying to include a DT::datatable in a Tufte html document using Bookdown and knitr packages. However, even if I set the width of the columns using columnDefs option, or the width of the kintr output using fig.fullwidth = FALSE or out.with =…
2
votes
1 answer

How to remove Italics in PDF (latex) output of Bookdown ouput (Tufte Style)?

I'm trying to get Bookdown, Tufte style, to output to PDF with similiar aesthetics to the "Envisioned" style. I've been able to change fonts by using "includes" in the YAML data, and linking to a .tex file. Now I would like to remove the Italics…
irshaadv
  • 21
  • 1
  • 2
2
votes
1 answer

printing code-generated text in margin of r markdown tufte handout

I am trying to put a margin note in my Tufte Latex document that is partially generated by r code, but have been unsuccessful. Code blocks set to print in the margin only seem to put plots there, not text or tables. Margin notes called with…
nealmaker
  • 157
  • 8
2
votes
0 answers

Modifying footnotes in R blogdown

I am tinkering with the tuftesque theme for R blogdown. I would like to change the way footnotes are rendered such that they become part of the sidenotes that are typical for Tufte's format. If I add some text with a footnote This is supposed to be…
ekstroem
  • 5,957
  • 3
  • 22
  • 48
2
votes
1 answer

Error when rendering tufte_html_book() with R/bookdown

I'm trying to build a book with R/bookdown and I'm facing a problem when producing a html version using tufte_html_book or html_book: Error in split_chapters(output, page_builder, number_sections, split_by, : The document must start with a…
xraynaud
  • 2,028
  • 19
  • 29