AAGI

Analytics for the Australian Grains Industry

August 23, 2024

An AAGI Reveal.js Theme for Quarto

This Quarto extension allows you to create your slides using a theme that follows AAGI typography and colour styles and provides the official AAGI logo and cover image for the title slide.

Basic Tables

AAGIQuarto provides basic theming of HTML tables through CSS, for example, this is a markdown table.

| Syntax      | Description |
| ----------- | ----------- |
| Header      | Title       |
| Paragraph   | Text        |

That renders like this.

Syntax Description
Header Title
Paragraph Text

Advanced Tables

For more advanced tables, we suggest paring with the R package {AAGIThemes} to provide AAGI themed tables using theme_gt_aagi(), that offers more flexibility in formatting.

library(dplyr)
library(gt)
library(AAGIThemes)

gt <- gt(head(airquality) |>
 mutate(`Month Name` = "May"))
gt <- theme_gt_aagi(gt)
gt
Ozone Solar.R Wind Temp Month Day Month Name
41 190 7.4 67 5 1 May
36 118 8.0 72 5 2 May
12 149 12.6 74 5 3 May
18 313 11.5 62 5 4 May
NA NA 14.3 56 5 5 May
28 NA 14.9 66 5 6 May

Basic Figures

{AAGIThemes} also provides support for theming basic figures in R, for example.

Figures with {ggplot2}

{AAGIThemes} also provides support for theming {ggplot2} outputs in R, for example.

Slides With Columns

This is a column on the left.

This is a column on the right.

More Information

You can learn more about controlling the appearance of RevealJS output here: https://quarto.org/docs/presentations/revealjs/

Thank You