PostSession1Quarto

Author

Joss Sibbering

Published

October 1, 2024

Quarto

Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.

A macro shot of a red ladybird on a leaf looking at the camera

A ladybird on a leaf

Running Code

When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:

1 + 1
[1] 2

You can add options to executable code like this

[1] 4

The echo: false option disables the printing of code (only output is displayed).

library(tidyverse)

Include a plot:

Code
ggplot(diamonds, aes(x = cut)) +
  geom_bar()
Figure 1: A bar chart of diamond cuts

This is a reference: Figure 1.

Using LaTeX

We can put formulas inline like this: \(\alpha\) We indent like this

\[ \pi \in \mathbb{R}\]

Google for more info!