Replies: 1 comment 1 reply
-
#set figure.caption(separator: [ --- ])
#show figure.caption: c => [
#text(fill: orange, weight: "bold")[
#c.supplement #c.counter.display(c.numbering)
]
#c.separator#c.body
]
#figure(rect(), caption: "My great caption.") yields |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know that it is possible to style the entire caption of a
Figure
, however, I'm specifically interested in styling the supplement AND the numbering part, using bold and color (orange).Here is my current version : I've also been able to change the color of the separator, but unable, so far, to change the number color, which looks kinda weird.
Beta Was this translation helpful? Give feedback.
All reactions