Creating Supplementary Figure 1,2,... in Quarto #3209
-
Hi, I tried to follow the instructions indicated in https://quarto.org/docs/authoring/figures.html to create figures in a word document. However, instead of Figure 1 highlighted, is it possible to change it to Supplementary Figure 1 instead ? The code written are as follows:
Here is the attached file for my code and images Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
You should be able to Accomplish this like so: ---
title: "Figure_Issue"
format: docx
crossref:
fig-title: Supplementary Figure
fig-prefix: Sup Fig
---
[figure_issue.zip](https://github.com/quarto-dev/quarto-cli/files/9950580/figure_issue.zip)
::: {#fig-avatar layout-ncol=1}

Famous Avatar
:::
@fig-avatar describes More about the options here: https://quarto.org/docs/authoring/cross-references.html#options |
Beta Was this translation helpful? Give feedback.
-
I wanted to reopen this discussion because I personally prefer labelling supplementary figures as 'Figure S1', 'Figure S2', etc. I currently don't see a way to do this @dragonstyle ? The closest I could get was |
Beta Was this translation helpful? Give feedback.
-
Could I ask if this feature is still in-progress or if there is a way we can do this? Specifically, I'm looking to have two separate sets of figures:
Both sets of figures are referenced in the same document. Of course, I could make two separate documents and then try to stitch them together at the end. But I'm hoping there is a less laborious path forward. By the way, if there is any way to write extensions or plugins for quarto, I'd appreciate if anyone would share your favorite link that describes how to get started on writing and using an extension. Also, it'd be great if this discussion had a link to the relevant GitHub Issue, because I arrived here via a search engine. |
Beta Was this translation helpful? Give feedback.
You should be able to Accomplish this like so:
More about the options here:
https://quarto.org/docs/authoring/cross-references.html#options