syntax for multiple caption in a single line #2520
-
Hello Is it possible to indicate figure caption of multiple figure in a single line with a syntax similar to the one used for the tabset? I'm creating a document that iterate a list to create tab and figure. I'm wondering if it is possible to indicate the captions in the same way I indicate the Thank you in advance for your answer.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I believe you should iterate on your content by leveraging child document in which you can fully right usual Qmd syntax. This will be safer for the outputs, and easier for using knitr and Quarto feature such as caption. See my answer in this thread (#2370 (comment)) and this one (#2403 (comment)) regarding how to correctly iterate to program the creation of mix of Markdown + Code content. Regarding figure caption for multiple plot, knitr should handle that using vector for figure options. This should work within Quarto too ---
format: html
---
```{r lab}
#| layout-ncol: 2
#| fig-cap:
#| - mtcars
#| - cars
plot(mtcars)
plot(cars)
``` You should try for only one clustering group to see how it looks likes and if it works. I am not sure how the |
Beta Was this translation helpful? Give feedback.
I believe you should iterate on your content by leveraging child document in which you can fully right usual Qmd syntax. This will be safer for the outputs, and easier for using knitr and Quarto feature such as caption.
See my answer in this thread (#2370 (comment)) and this one (#2403 (comment)) regarding how to correctly iterate to program the creation of mix of Markdown + Code content.
Regarding figure caption for multiple plot, knitr should handle that using vector for figure options. This should work within Quarto too
You should try for only one clustering group to s…