Questions tagged [quarto]

Quarto is an open-source scientific and technical publishing system built on Pandoc

Quarto is an open-source scientific and technical publishing system built on Pandoc

  • Create dynamic content with Python, R, Julia, and Observable.
  • Author documents as plain text markdown or Jupyter notebooks.
  • Publish high-quality articles, reports, presentations, websites, blogs, and books in HTML, PDF, MS Word, ePub, and more.
  • Author with scientific markdown, including equations, citations, crossrefs, figure panels, callouts, advanced layout, and more.

Website: https://quarto.org/

813 questions
14
votes
1 answer

What are the benefits of using Quarto over RMarkdown?

Quarto is a new open-source scientific and technical publishing system that claims to be the "next generation version of R Markdown from RStudio". I'm an avid RMarkdown user and I have not yet fully understood what are the advantages of using Quarto…
Maël
  • 45,206
  • 3
  • 29
  • 67
11
votes
5 answers

Setting the directories for Quarto documents in Rstudio

I am currently trying to transition to Quarto from Rmarkdown. However, I am facing an issue with setting the correct project directory. I wanted to ask if there is something similar to this option in Rmarkdown with Quarto. My understanding is that…
10
votes
1 answer

Change fonts in quarto pdf document

How to customize fonts in a quarto pdf document? I realized of the existence of mainfont and fontfamily options, but the documentation doesn't provide examples of how to use them and which fonts are available. Also, what are the fonts available for…
dzegpi
  • 554
  • 5
  • 14
10
votes
1 answer

pre-render an R script for each chapter of a quarto book project

I have a bookdown project in R and like to switch to Quarto. In the bookdown project I have an R script _common.R (it includes libraries and various settings and helper functions) to run before the rendering of each chapter (separate qmd file). How…
wilbert
  • 153
  • 5
10
votes
1 answer

How do I knit to two formats simulateously with Quarto?

Is it possible to create multiple output formats from a Quarto/R Markdown document at once by specifying them in the YAML header? My guess did not work: --- title: Stacked Area chart with Annotations format: - html - gfm ---
dufei
  • 2,166
  • 1
  • 7
  • 18
9
votes
1 answer

Dropdown menu in Quarto

I would like to create a dropdown menu in Quarto to show multiple plots. In R Markdown is this really simple using # Dropdown menu {.tabset .tabset-dropdown} with some ## for each plot. Here is a reproducible example in R markdown: --- title:…
Quinten
  • 35,235
  • 5
  • 20
  • 53
9
votes
1 answer

How to programmatically generate tabset-panel in quarto?

I've provided a small reproducible example below. I would like to generate tabs in quarto for each of the ggplot objects within a named list plots. The below quarto document would render the figures in their own 2nd level heading, but not in tabs as…
Michael Luu
  • 509
  • 3
  • 10
9
votes
1 answer

gt tables in Quarto Pub without slide CSS styling

I am new to making revealjs slides using Quarto in R and RStudio. I would like to include a {gt} table (https://gt.rstudio.com/) on a slide with the default gt styling. But the issue I am running into is that the table is HTML and inherits custom…
Daniel D. Sjoberg
  • 8,820
  • 2
  • 12
  • 28
8
votes
4 answers

Two columns layout in Quarto

Quarto I am creating a website in Quarto and would like to have a two columns layout so I can nicely show text side by side. In streamlit you can use columns to get a two columns layout. Here is an example code of how to layout should look…
Quinten
  • 35,235
  • 5
  • 20
  • 53
8
votes
2 answers

Quarto Book Download button

Using bookdown we are able to download different file formats from a download button, e.g. --- bookdown::gitbook: download: - ["test.pdf", "PDF File"] - ["test.html", "HTML File"] - ["test.csv", "Data test.csv"] --- In quarto,…
Julian
  • 6,586
  • 2
  • 9
  • 33
8
votes
1 answer

Quarto: Howto use a custom (Web)font?

I'm trying to get a Quarto home page of the ground and one requirement is a custom font (free webfont; Tex-Gyre-Adventor). Following the documentation, I have played around with the html format specific mainfont tag in various iterations (see header…
balin
  • 1,554
  • 1
  • 12
  • 26
8
votes
2 answers

Rendering many connected quarto documents

I have been trying the new quarto tool by Rstudio and it seems like I cannot do something that was doable in the older versions of the R Notebook or R Markdown alternatives. I want to organise my workflow through several quarto documents (.qmd) and…
Orlando Sabogal
  • 1,470
  • 7
  • 20
8
votes
1 answer

Add Keyboard Shortcuts for R Chunks in Quarto Docs Using VSCode

Is it possible to add keyboard shortcuts for R chunks in quarto documents using vscode? I'm trying to use shortcuts like the pipe operator %>% (ctrl+shift+m) and others. I thought I should do this by including something like the code below in the…
7
votes
3 answers

How to override the default font using locally stored fonts in themes?

I am using Quarto to build a website and try to override the default fonts within a theme. (My overall goal is to use local google fonts instead of using the google api). my _quarto.yml looks like that: project: type: website format: html: …
Michael K
  • 133
  • 5
7
votes
1 answer

R - Quarto HTML document. How to insert logo image at the left of the Title / subtitle area

I'm trying to insert a company logo image on a HTML report generated with Quarto from RStudio. My report template is the following --- title: "Report Title" subtitle: "Report subtitle" author: "Name and Sruname" date: last-modified date-format:…
Tiziano
  • 271
  • 1
  • 5
  • 9
1
2 3
54 55