rfortherestofus / omni

RMarkdown template, ggplot2 theme, and table function for OMNI Institute
https://rfortherestofus.github.io/omni/
Other
20 stars 3 forks source link

ggplot gallery: figure labeling in guidance #77

Open OskaratOmni opened 5 months ago

OskaratOmni commented 5 months ago

If it seems reasonable to add - could we have a section in the guidance for how to have dynamic figure labels for reporting. e.g., to have each figure automatically start Figure 1:, Figure 2:... etc.

dgkeyes commented 5 months ago

Can you please explain this a bit more @OskaratOmni? Figure numbers are added automatically when you use RMarkdown. This, for example, is from the default content in the OMNI report template:

CleanShot 2024-01-17 at 15 24 24

Are you wanting something different?

OskaratOmni commented 5 months ago

Hmm... I'm not sure David. Let me check with the commenter. I honestly wasn't quite sure what they meant either. I think they assumed that the automatic numbering wouldn't happen without specifying a caption, perhaps. I'll ask.