How to use expressions in subcaptions #7308
Replies: 3 comments 16 replies
-
Beta Was this translation helpful? Give feedback.
-
Huh, OK, I have used that approach for external images, but never for figures that are output from R. Are To answer @cderv, I am using Quarto 1.4.429. |
Beta Was this translation helpful? Give feedback.
-
Also, is #| eval: !expr file.exists("my-results.RDS") If there a different approach to achieving this result? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I want to use expressions in subcaptions, but I can't seem to figure out how to do it. For example, when I render the following document:
The overall figure caption appears as it should ("A test label"), but the captions for the subfigures are not correct, appearing as "expression(x)". Is there a way to fix this? I have tried various forms of quoting around
x
, but nothing seems to work.Beta Was this translation helpful? Give feedback.
All reactions