figure alignment not honored in all layouts

My figures appear left aligned when setting column: page AND fig-align: center.

---
title: "Test"
format:
  html: 
    embed-resources: true
    smooth-scroll: true
    theme: cosmo
    fontcolor: black
    toc: true
    toc-expand: 2
    toc-title: Contents
    toc-location: left
    toc-depth: 3
    number-sections: true
    number-depth: 3
---

## Page

This aligns left to page, despite setting fig-align.

```{r}
#| label: fig-1
#| fig-cap: "A caption." 
#| column: page
#| fig-align: center

plot(mtcars)
```

## Not specified

This aligns center in main

```{r}
#| label: fig-2
#| fig-cap: "A caption." 

plot(mtcars)
```

R version 4.3.2 (2023-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.1

Quarto 1.5.56

It seems like an issue. Can you open one at GitHub - quarto-dev/quarto-cli: Open-source scientific and technical publishing system built on Pandoc. ?

I believe the column: page may also be broken

1 Like