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
2 answers

How to change the default font size in quarto speaker notes

I am trying to reduce the font size for speaker notes in Quarto's revealjs format. My CSS file looks like this: .slides h1 { font-size : 150%; } .slides h2 { font-size: 140%; } .speaker-notes { font-size: 4px; } /*…
Robert McDonald
  • 1,250
  • 1
  • 12
  • 20
3
votes
1 answer

ModuleNotFoundError: No module named 'nbformat'

I would like to run python in a Quarto document. I followed the docs about installing and using python in Quarto, but the error stays. Here is some reproducible code: --- title: "matplotlib demo" format: html: code-fold: true jupyter:…
Quinten
  • 35,235
  • 5
  • 20
  • 53
3
votes
1 answer

Changing the output directory for Quarto projects in Rstudio

I am transitioning from using Rmarkdown to Quarto files within R projects. When using Rmarkdown I was able to direct my output file in a specific directory to reduce clutter. For example, my project structure usually takes the form: $ │…
3
votes
1 answer

Force the title and subtitle to appear on the same slide of a pptx output in Quarto R

I want to be able to create a PowerPoint output in R (using quarto, qmd) but I've been having some difficulties in the actual format of the powerpoint. When I execute the following code: --- title: "My presentation" subtitle: "January 2023" author:…
Bileobio
  • 121
  • 8
3
votes
1 answer

Generate paragraphs inside a loop in Quarto

I want to generate with R / Quarto a Word document (docx) in which, inside an item, I have sub-items created by looping. I’m using R version 4.2.2, R Studio 2022.12.0 Build 353, Quarto 1.2.280 and Ubuntu 20.04. For example, after an introductory…
Antonio
  • 563
  • 1
  • 5
  • 12
3
votes
1 answer

Set itemize spacing in Quarto / RMarkdown PDF

In LaTeX, it's easy to control the vertical spacing in an itemized list by using \setlength\itemsep{1em}: \begin{itemize} \setlength\itemsep{1em} \item one \item two \item three \end{itemize} How would I control this in Quarto / RMarkdown?…
jhelvy
  • 542
  • 4
  • 8
3
votes
0 answers

Quarto book publish produces "LaTeX Error: File `scrreprt.cls' not found"

When I attempt to re-publish a Quarto Book to an established url on Quarto Pub, I receive an error in the terminal. The error message in the terminal upon which it stops before republishing is: "compilation failed- no matching packages LaTeX Error:…
3
votes
1 answer

using a for loop to generate a series of plots in new powerpoint slides using quarto

I am creating a quarto powerpoint presentation and want to use a dataset to iterate over all the classes in a variable and do a plot for each class on a new slide. However, my plot doesn't seem to show up --- title:…
z star
  • 684
  • 6
  • 19
3
votes
1 answer

Theorem and Proof Environment in Beamer

I am currently trying to use quarto beamer to making lecture slides. I would like to use the theorem environment in beamer, the qmd file however cannot render properly. Rendering stopped with latex error showing that Command \theorem already…
3
votes
1 answer

Programatically generate tabset panels of datatables in Quarto

This question is similar, but not identical to this one. Basically, I have a number of tables that I would like to show in tabsets using DT::datatable(). Unfortunately, I can't figure out how. The following code works, but I need to manually type…
January
  • 16,320
  • 6
  • 52
  • 74
3
votes
1 answer

Use footnote multiple times in HTML Quarto

I would like to use a single footnote multiple times in HTML Quarto. The problem is that once I create a footnote and use it twice, it will be shown as two footnotes. Here is a reproducible example: --- title: "Footnote multiple times" editor:…
Quinten
  • 35,235
  • 5
  • 20
  • 53
3
votes
1 answer

Use LaTeX expressions inside a kable table in a Revealjs presentation

Since Quarto released, I've been keen on using Revealjs slides in order to present data projects, a nice and very interactive format. Just like in Rmarkdown, it is easy to use LaTeX expressions inside slides: $for_inline_exp$,…
Smorg
  • 55
  • 4
3
votes
1 answer

Multi-line math fails in Quarto

Quarto 1.2.269, Pandoc 2.19.2, XeTeX 3.141592653-2.6-0.999994 index.qmd --- title: "Why do I get a warning and failure to convert?" --- This works: $$ a = \pi r^2 $$ These do not: $$ a_n = \begin{cases} 3n + 1 & \text{ if } n \text{…
PartialOrder
  • 2,870
  • 3
  • 36
  • 44
3
votes
1 answer

How can I explicitly link to the `index.html` file in a Quarto Book

I'm used to using bookdown to create books that don't have to be hosted on a webserver to work properly. I usually keep the _book directory and make it available on a shared drive with my team so that when my users click a link from somewhere else,…
kputschko
  • 766
  • 1
  • 7
  • 21
3
votes
1 answer

How to run a lua filter in Quarto after the crossreferences were added?

I am trying to write a lua filter which works on figure caption titles, i.e. stuff like "Figure 1" in the figure caption. See this question for background. Basically I want to make this "Figure 1" part in bold (including figure number). However, it…
January
  • 16,320
  • 6
  • 52
  • 74