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
1
vote
1 answer

Cross referencing figures in tufte_html

I am building a tufte::tufte_html which should contain cross references to a figure. Unlucky me, I've been trying for a whole day for no avail. Below, I also try with what has been suggested for bookdown version of pdf_document2. Any offerings of…
dd_rookie
  • 331
  • 2
  • 3
  • 13
1
vote
1 answer

R Shiny/R Markdown: render() fails inside downloadHandler

I have an RMarkdown template, template.Rmd: --- title: "Template" output: tufte_handout params: data: !r data.frame() --- ```{r setup, include=FALSE} library(ggplot2) knitr::opts_chunk$set(echo = TRUE) ``` # Title ## Another Title ```{r…
Patrick Bucher
  • 1,302
  • 2
  • 14
  • 36
1
vote
1 answer

Is it possible to render word document from Rmarkdown Tufte template?

I am writing a document in RStudio / Rmarkdown using Tufte style template. It creates pdf or html documents but is it possible to get the same output as a Word document?
ilker_arslan
  • 637
  • 3
  • 7
  • 17
1
vote
2 answers

Is it possible to plot histograms with sparkTable?

I can do a sparkBar, but no sparkHist. Is this possible to do? This is an example of how to create a sparkBar (from example(newSparkBar): library(sparkTable) data(pop) x <- pop[pop[,2]=="Insgesamt",3] b <-…
frankc
  • 11,290
  • 4
  • 32
  • 49
0
votes
1 answer

Using quarto in RStudio to generate tufte book with context engine

I have been trying the tufte handbook style on RStudio using the skeleton.Rmd script. It works ok excepting the [@R-base] side citation that sets cursive for the rest of document probably because of bad format in reference. Other than that, it works…
Juan Riera
  • 127
  • 8
0
votes
1 answer

ggplot2 theme for Tufte minimalist design

Tufte thinks this design of bar charts has a high data-ink-ratio. Is there a style available implementing this design?
Erich Neuwirth
  • 943
  • 7
  • 13
0
votes
1 answer

How do I reference a label in one latex file from another?

I have two files, a.tex and b.tex. In a.tex I have a label, \label{stuff}. In b.tex I need to refer to this label, \ref{stuff}. I also have a main.tex file. Regardless of if I use \include{a}\include{b} or use \input{a}\input{b} the reference is not…
Lee
  • 29
  • 3
0
votes
1 answer

R Markdown Tufte Template: Font Size of Table Content

I failed many times. I put font-size:12px in th, td{}, or td{}, or table{}. Is it possible to change the font size of table content?
pinawa
  • 129
  • 6
0
votes
1 answer

set different fonts for the body and margin notes for tufte bookdown pdf

I'd like to set different fonts for the body and margin notes of a bookdown::pdf_book with base_format: tufte::tufte_book. This answer shows how to change the overall styling by adding to header-includes: in the YAML. Is there a similar latex…
Eric Green
  • 7,385
  • 11
  • 56
  • 102
0
votes
1 answer

How can I use LaTeX package 'coffee4' to export an .Rmd to a Tufte Handout style .pdf?

In this video at around 7:30 into the video, Yihui Xie make a demo of the package coffee4 which adds random coffee stains to a document. However, he is showing them in a regular LateX style pdf. I am wondering if I could also use this package or an…
joafr
  • 1
  • 1
0
votes
0 answers

Trying to write results in excel sheet column Result using UFT

Hello I am using the following code and trying to write the results in the excel sheet column name result, but it's not writing the results in it, however, it will export the sheet but wouldn't write the result. Can you please help me with what I am…
Newbie
  • 13
  • 4
0
votes
1 answer

In ggplot, how to make panel.grid.major on top of the barplot?

I wish to produce a graph panel grid lines which are overlaid on top of the figures. (I want to create an effect that is much like what is shown in Tufte). I created this using geom_segment, but the drawback is that I need to set the heights at…
January
  • 16,320
  • 6
  • 52
  • 74
0
votes
1 answer

How do I size a Shiny app within an R-Markdown document using the Tufte Template?

I am writing a report using R-Markdown and the Tufte Template. I have embedded Shiny apps within the report. So far I have tried using "fig.width=" and "width=" in the chunck options to no avail, then tried ", options = list(height = 600) " just…
0
votes
1 answer

Changing default font on tint R package

I've read the documentation for the "tint" package: 'tint' is not 'Tufte' and I couldn't find a way to change the default font for both the PDF and html outputs. Is there a way to do this from the Markdown document (YAML header)? Thank you!
0
votes
1 answer

How to center LaTeX xtable (And Figure) output in full text width

This is a follow-up to a question I posted earlier (How to center LaTeX xtable output in full text width). I realize that my MWE from this previous post was incomplete. In an effort to make it as minimal of an example as possible, I did leave out…
user1830307
1 2 3
4