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
4
votes
1 answer

Using tikz in quarto presentation

I'm trying quarto for my slides and wondering how to use \pause in tkiz code. Minimum working example is below for reference. --- title: "Test Slides" format: revealjs: chalkboard: buttons: false preview-links: auto css:…
MYaseen208
  • 22,666
  • 37
  • 165
  • 309
3
votes
2 answers

Pause within a list leaves blank space between items in quarto reveal

In Quarto markdown I am creating a revealjs presentation and I want a list in which the last item is shown after the others. If I put a pause within the list (or I put the last item within a fragment) I get extra space before the last item. This is…
Claudio
  • 1,229
  • 6
  • 11
3
votes
1 answer

customize solution environment

I'm trying to automate the insertion of horizontal rules at the end of solution environments in Quarto; for example: --- title: "Untitled" --- :::{#exr-oneplusone} What is 1+1? ::::{.solution} $$1+1 = 2$$ ****** :::: ::: I'm trying to…
3
votes
1 answer

Quarto document with `.panel-tabset`: How to flip all tabs with a single button?

I have a Quarto document which is rendered to HTML. In that document, I use .panel-tabset to create tabbed panels with code examples in different languages: R and Python. How can I create a single button that switches all the tabs on a given…
Vincent
  • 15,809
  • 7
  • 37
  • 39
3
votes
1 answer

quarto revealjs rerender if included file changes

I'm using quarto to create revealjs slides. I have a main file science.qmd that looks similar to this --- title: "title" author: "me" date: "2023-09-01" toc: false chalkboard: true --- {{< include slides/_basics.qmd >}} {{< include…
Thomas
  • 1,199
  • 1
  • 14
  • 29
3
votes
1 answer

Quarto figure labels break tooltip formatting for echarts plots

After adding a figure label to a quarto chunk that creates an echarts plot, the text in the tooltip becomes misaligned. This seems to be an issue only recently introduced. Here is an example without a figure label and the tooltip renders…
Giovanni Colitti
  • 1,982
  • 11
  • 24
3
votes
1 answer

In quarto can I display all the code from a block before showing any output

Can I tell quarto to display the entire code block before it displays all the output? I am writing an example for students and the code block ends with a comment. As it stands when the code runs it prints code, then the output and then the comment…
itsMeInMiami
  • 2,324
  • 1
  • 13
  • 34
3
votes
1 answer

How to define LaTeX macros globally for a Quarto book?

I am working on a Quarto book rendered both as HTML and as pdf. The HTML consists of multiple pages with separate qmd files. A set of LaTeX macros, defined via \newcommands, should be used across the whole book. LaTeX is rendered with MathJax. Tried…
pglpm
  • 516
  • 4
  • 14
3
votes
2 answers

How to stop Quarto from deleting gfm files when rendering to html?

I need to render a .qmd file simultaneously to both gfm (.md) and .html, but quarto deletes the existing .md when I render the .html file. Is there any way to keep both formats? The Quarto website seems to suggest that it's possible:…
qh_tan
  • 58
  • 5
3
votes
1 answer

Interactively select which columns are displayed

I am using reactable to generate a table in a quarto document. There are a bit too many columns. So I am thinking of displaying a few by default and then allow the user to change that if needed. I am looking for ideas on how to allow the user to…
mindlessgreen
  • 11,059
  • 16
  • 68
  • 113
3
votes
0 answers

autosize font in quarto presentation

Am I able to set font in a Quarto presentation to auto-size to the text window object of the slide? I am starting to build a talk to show everyone at my company how great {quarto} is, but am dreading the task of render --> check font size --> adjust…
M. Wood
  • 450
  • 4
  • 13
3
votes
1 answer

Quarto with a CSS in the parent directory

I want my CSS file to be shared by several Quarto R presentations, so this CSS file should be placed in a top directory. But Quarto seems to allow CSS files only in the same directory, or in a child directory. I have tried all these configurations…
tomtom
  • 45
  • 5
3
votes
0 answers

Quarto Website Navigation with Parameterized Reports

Is there a recommended way to create a quarto site navigation for parameterized qmd reports? For instance, say I have the following patient_report.qmd file: --- params: patient: null title: "Patient Report for `r params$patient`" --- This is a…
TinyHeero
  • 580
  • 1
  • 4
  • 18
3
votes
2 answers

Scrollbar for output chunk in Quarto

I would like to plot multiple plots from a chunk and add a scrollbar to the output of that chunk. I see here that this could be done for Code Overflow, but I am not sure how to scroll the output instead of adding all the plots below each other like…
Quinten
  • 35,235
  • 5
  • 20
  • 53
3
votes
2 answers

Generating a downloadable html quarto document from a shiny app on shinyapps.io

The following app (reproducible example) works perfectly when deployed locally, but not when hosted on shinyapps.io. My understanding is that the quarto::quarto_render() call should have permission to write a file on shinyapps.io (it wouldn't be…