#Customize figure caption font size

2 messages · Page 1 of 1 (latest)

lime fjord
#

Hi, I would like to customize the font size of the figure caption.
I've tried with this, but I dont' like that it affects also the raw block inside the figure (I use figures for code snippets)

show figure: it => [
#set text(size: 10pt)
#it
]

Do you have an alternative? Thanks

teal rain
#

In absence of a figure.caption element (which is work in progress), there is not much you can do except completely redefine the figure. Note that your snippet can be simplified to show figure: set text(size: 10pt).