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
3
votes
3 answers

How to PDF render Quarto books with dynamic content?

I am writing my thesis using a Quarto book in HTML, which has some dynamic content (leaflet maps, plotly dynamic graphs). However, eventually, I will need to export the book in PDF/LaTeX, or at least Word (and then I can copy and paste into…
Roberto
  • 307
  • 2
  • 9
3
votes
1 answer

Tabsets not rendering datatables properly for Quarto Revealjs presentation

I am making a presentation in Quarto using Revealjs. I would like each slide to contain a panel-tabset with multiple tabs, each containing a datatable. When I view the rendered HTML document, several of the datatables fail to load. Specifically, the…
Escotch
  • 131
  • 1
  • 7
3
votes
1 answer

How to format tabset font in Quarto?

I have the below qmd file with 2 tabs. I'd like to change the tab text font style and size. How do I go about this? --- title: "Cars" title-block-banner: true format: html: code-fold: true page-layout: full fig_caption: yes --- :::…
apprunner2186
  • 217
  • 1
  • 6
3
votes
2 answers

how to change code block height and width in quarto presentation

I am using quarto to make slides based on revealjs. I can not find options that can change code block height and width in the Guide. In the example beleow maybe we can set like this although it is a wrong way. ```{r code_block…
zhiwei li
  • 1,635
  • 8
  • 26
3
votes
1 answer

generating cross references in quarto and rendering in ms-word

I'm trying to create tables with cross-references in Quarto that are rendered in MS Word So far I get the best looking tables with flextable However, I haven't managed to get the cross-references to work yet Here's the qmd file contents showing an…
KJB
  • 121
  • 6
3
votes
2 answers

Shared counter in quarto for exercises, examples, etc

I'm using quarto to write an online book and need to mimic the environments and counters of a published book. The latter employs five custom framed environments (examples, exercises, remarks, theorems, definitions) with a joined counter (within the…
Achim Zeileis
  • 15,710
  • 1
  • 39
  • 49
3
votes
2 answers

Reducing space between command and output in RMarkdown / Quarto

I am just starting to use Quarto in the latest version of Rstudio. However, I'm annoyed by the amount of space added between the command and the output in the R code chunk (rendered as pdf) ```{r} 3 + 1 ``` You can add options to executable code…
Greenparker
  • 272
  • 1
  • 11
3
votes
1 answer

Use dataframe created in R codechunk in ojs codechunk in quarto

I'm completely new to using quarto. But one thing I wonder is if there is any chance to use a dataframe created "on the fly" in the quarto document in an observable (ojs) chunk, instead of maybe writing it out as CSV and reading it in? I guess there…
Lenn
  • 1,283
  • 7
  • 20
3
votes
1 answer

How to create lettered lists using Quarto?

In R-Markdown you can automatically create lettered lists using the following code: --- title: "Untitled" author: "Author" date: "2022-07-21" output: html_document --- # Example a) something a) something Output: I tried using the same commands…
Quinten
  • 35,235
  • 5
  • 20
  • 53
3
votes
1 answer

How can I center subtitle text in quarto?

I would like to center one of my sub-headers not the text below it. I tried the code below and it centers the subheading and also the text in the subsection. --- title: "how do I center only a title" format: html --- ### Something something not…
itsMeInMiami
  • 2,324
  • 1
  • 13
  • 34
3
votes
2 answers

Automatically installing the latest Quarto version

I use a Quarto script to render my blog in Python. Quarto frequently updates, and I want to automatically install the latest version so I can have a script that automatically updates Quarto before rendering my blog. How can I do this?
Lucas A. Meyer
  • 428
  • 3
  • 8
3
votes
1 answer

When generating presentations in Quarto, monospace font is very big

I created a presentation in Quarto with code and outputted it to RevealJS and PPTX. The font size for code in RevealJS is sensible, but the font-size in PowerPoint is gigantic, so the same slide looks very different in RevealJS and PPTX. Is there a…
Lucas A. Meyer
  • 428
  • 3
  • 8
3
votes
1 answer

Upgrading Quarto CLI for RStudio on Windows 10

I'm using RStudio 2022.07.0 Build 545 (RStudio 2022.07.0-preview+545) on Windows [Version 10.0.22000.739]. However, when on launching RStudio, I get the following message: Quarto CLI version 0.9.165 is installed, however RStudio requires version…
MYaseen208
  • 22,666
  • 37
  • 165
  • 309
3
votes
1 answer

Side-by-side caption positions of figure and table

In Quarto, it is possible to display a figure and a table side by side with layout-ncol. Theoretically, we should be able to use cap-location: "bottom" to set all captions to bottom, but it is not the case here. Is there a way to set all captions to…
Maël
  • 45,206
  • 3
  • 29
  • 67
3
votes
1 answer

Disable visual markdown editor on RStudio

I'm working on a book project with Quarto using RStudio 2022.02.2+485. Whenever I open a mardown .qmd file, RStudio automatically opens the file using the Visual markdown editor, what takes time to load. Even if I move to the Source pane, RStudio…
rafa.pereira
  • 13,251
  • 6
  • 71
  • 109