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

Quarto revealjs: increase relative font size of code chunks

.In quarto revealjs the font size for code chunks is smaller than that for text. Changing the base font (using fontsize) just changes everything proportionally. I would like to be able to adjust the relative font size for code chunks. I assume this…
Robert McDonald
  • 1,250
  • 1
  • 12
  • 20
2
votes
2 answers

How to change font size for code chunks in Quarto?

I am using quarto to prepare a Beamer presentation. I would like to reduce the font size of the code inside a given chunk so everything fits better. See the example below: The code that generates the chunk is: ```{python} # Import packages import…
Raul Guarini Riva
  • 651
  • 1
  • 10
  • 20
2
votes
1 answer

Quarto won't render to PDF

I am trying to render my quarto to pdf. This is my Yaml: --- date: last-modified toc: true format: html: code-fold: true html-math-method: katex pdf: geometry: - top=30mm - left=30mm docx: default bibliography:…
2
votes
1 answer

Mermaid in pdf Quarto

I would like to use mermaid diagrams in Quarto pdf. Here is some reproducible code: --- title: "RenderTest" format: pdf --- ```{mermaid} flowchart LR A[Hard edge] --> B(Round edge) B --> C{Decision} C --> D[Result one] C --> E[Result…
Quinten
  • 35,235
  • 5
  • 20
  • 53
2
votes
0 answers

Quarto Project specify port for localhost

Whenever I render a quarto project in rstudio by hitting the "render"-button it uses a random port for the localhost. The manual states one can insert: project: preview: port: 4200 However, despite having inserted this option to…
Kilsen
  • 45
  • 5
2
votes
1 answer

ERROR: Your TexLive version is not updated enough

I would like to create a pdf document using Quarto. When I run the following simple code it returns the following error: --- title: "Test" format: pdf --- Example document Output error: running xelatex - 1 command xelatex not found, attempting…
Quinten
  • 35,235
  • 5
  • 20
  • 53
2
votes
1 answer

Quarto: Placement of python tables

I am using a .qmd document to write my thesis, which is mainly in Python. Now and then, I would like to present a preview of the data - in the most cases by df.head(). My problem is, that when using df.head().style, the data frame is floating…
Bernardo
  • 55
  • 5
2
votes
1 answer

Add background image to quarto website home page

In a quarto website, how do I add a background image filling the entire page but only to the home page? I have a working solution which adds the background correctly, but does it across the entire website. In the example below, I do not want the…
mindlessgreen
  • 11,059
  • 16
  • 68
  • 113
2
votes
0 answers

include rendered quarto HTML in a shinyApp

I would like to include a rendered HTML project, created with Quarto, in a shinyApp in order to create a documentation page of the app. So far, I was able to use successfully use includeMarkdown, to include simple markdown (without plots though),…
pimakes
  • 21
  • 1
2
votes
1 answer

How to make code chunk output scrollable horizontally in quarto revealjs presentation

I made a presentation with a scrollable code chunk output using the xaringan package in R before like the photo shown below. I want to make the same scrollable code chunk output in quarto revealjs presentation. Anyone knows how to do it in quarto…
2
votes
2 answers

Create Two Versions of a Document

I am using quarto to create a lesson with lots of mixed in tex. I want two version of this lesson -- one with answers and one without the answers -- in the same document to avoid trying to keep the two files consistent. What is the easiest way to do…
blahblah4252
  • 105
  • 4
2
votes
1 answer

Word count in Quarto

I would love a convenient and easy way to print my word count automatically in quarto and stumbled across this nice add-in from Ben Marwick: https://github.com/benmarwick/wordcountaddin It is sound for rmarkdown and I presumed it should be no issue…
Richard
  • 21
  • 1
2
votes
2 answers

Change title size with quarto titlepages extension when rendering to pdf

I am creating a short report with quarto in rstudio, rendering it to pdf. I use the quarto titlepages extension to create a title page with a logo and a background image. I can get everything to work except for the size of the title font. I've been…
Asier
  • 125
  • 6
2
votes
2 answers

Prevent HTML table to use full page width in Quarto

I would like to use HTML tables in Quarto, but I would like to prevent it using the full page width. Here is a reproducible example: --- title: "HTML tables in Quarto" format: html --- | fruit | price | |--------|--------| | apple | 2.05 | |…
Quinten
  • 35,235
  • 5
  • 20
  • 53
2
votes
1 answer

Remove slide number and footer on quarto title slide

Is it possible to remove slide-number and footer elements from the title slide in Quarto? --- title: "My prez" format: revealjs: slide-number: c footer: "Confidential" --- Thanks!
abichat
  • 2,317
  • 2
  • 21
  • 39