In Quarto, it is possible to display a figure and a table side by side with layout-ncol. Theoretically, we should be able to use cap-location: "bottom" to set all captions to bottom, but it is not the case here. Is there a way to set all captions to bottom, including when using both table and figure?
Minimal example:
---
title: "sidebyside"
format: pdf
editor: visual
---
```{r}
#| layout-ncol: 2
#| layout-valign: bottom
#| cap-location: bottom
#| fig-cap: "A plot"
#| tbl-cap: "A table"
library(knitr)
# plot on the left
plot(cars)
# table on the right
kable(head(cars))
```
Output:
The expected output would have both captions in the bottom and no additional "A plot".
