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

Is there a way within a Quarto document to use the same Global Environment as my Rstudio session?

Currently I have to export my data frames out of RStudio to a CSV and then within Quarto use an R code block to load the CSV. Is there a way to have a Quarto document share the same Global Environment with RStudio?
Paul Shearer
  • 91
  • 1
  • 6
2
votes
2 answers

Letters and numbers in math do not use "mainfont" nor "mathfont"

I notice that, in math mode (i.e., in quarto, $$...$$ or $...), letters and numbers are being set in a default font irrespective of the mainfont or mathfont. Thus, variable names and numbers are being typeset in a different font. mathfont does have…
vanadium
  • 178
  • 5
2
votes
1 answer

Change size of image in Quarto presentation

I would like to make the image smaller using width and heigth. But when I change this, the images place is complete different while specifying top right with top and right. Here is a reproducible example without change size: --- title:…
Quinten
  • 35,235
  • 5
  • 20
  • 53
2
votes
1 answer

Insert a logo at the top right of a Quarto PDF file

I am trying to create an academic document. I use quarto to be able to include code and formulas. How can I include my university's logo in the top left corner of my document? For the moment here is what I have managed to do: --- title:…
NonoVoyou
  • 21
  • 2
2
votes
1 answer

how to use gt::as_word output in a quarto file

The {{gt}} package now includes a function as_word, which outputs the table as an OOXML string. I would like to use this to insert tables into the word output of a Quarto document. I thought this would work. --- title: "Untitled" format:…
John J.
  • 1,450
  • 1
  • 13
  • 28
2
votes
1 answer

Quarto Render having diff of engine output timed out issue

My quarto convert and quarto check commands work just fine. However, whenever I try quarto render, the process seems to work up until the very last .qmd file. That .qmd file seems to work, except after the last cell is processed, the python3 kernel…
2
votes
1 answer

Is it possible to have global cross references on a quarto website?

Im trying to build a quarto website which consists of several QMD files. Is it possible to have cross references between different QMD files, so that if the "link" is clicked, it takes you to an object which is located in another tab on the…
reload
  • 21
  • 3
2
votes
0 answers

When rendering from Quarto to Word document images wider than a particular length are rescaled and smaller than they should be

I am trying to render a Quarto document to Word and running into issues with images being rescaled down to ~6 inches. I would prefer if the images filled the available page space. I found this stack overflow post (Figure sizes with pandoc conversion…
Jake
  • 196
  • 1
  • 18
2
votes
2 answers

Header and footer in quarto qmd to pdf

Anyone a suggestion how to set the header and footer of a #quarto .qmd #rstats pdf? I tried this, but no footer shows: --- title: "Untitled" format: pdf: include-in-header: text: \usepackage{fancyhdr} --- \fancyfoot[L]{Footer…
MartineJ
  • 591
  • 5
  • 16
2
votes
1 answer

Evaluate code block in quarto dependant on evaluation of an R variable

I have the following quarto document, and I want to execute the second code block depending on the value of OK. As below, it does not work. I tried double and triple backticks, using only OK, but nothing worked. How can I do this? --- title:…
Rainer
  • 8,347
  • 1
  • 23
  • 28
2
votes
2 answers

How can I make an icon open a hyperlink in new tab by default?

Currently I have a Quarto Blog with some icons in the navigation menu, each of them have a hyperlink to another site, but they do not open in another tab, instead they open in the same tab as the blog. The icons are configured inside the file…
Vinícius Félix
  • 8,448
  • 6
  • 16
  • 32
2
votes
1 answer

References and Bibliography in two distinct chapters of Quarto book

I would like to put References and Bibliography in two distinct chapters of the book. The "References" are the things actually cited in the text, but the "Bibliography" is just a manually created chapter before or after the References chapter. So, i…
fulem
  • 85
  • 7
2
votes
0 answers

Changing the caption font size, color, and style in PPTX qmd

How do I, correctly, change the format of a plot caption in a qmd file? With a pptx output. I'll provide my MWE: --- title: "My Work" subtitle: "2023" author: "Me" format: pptx reference-doc: template.pptx mainfont: Open Sans sansfont: Open…
Bileobio
  • 121
  • 8
2
votes
2 answers

Set the class of an html table within an R function

I'd like to add a specific additional class to a table output to html by a custom R function within a Quarto document. Ideally for any df-print setting. Preferably the class would be set within the function, but failing that by the chunk…
Carl
  • 4,232
  • 2
  • 12
  • 24
2
votes
1 answer

Install custom TeX packages

I'm trying to install a custom Latex package (this Beamer template). I've tried to create a new directory under ...\AppData\Roaming\TinyTeX\texmf-local\, copy the .sty files and refresh Tinytex with tlmgr update --self -all tlmgr path add…
Alberson Miranda
  • 1,248
  • 7
  • 25