Hello @FelCar! Unfortunately, you cannot add a field to figure.
If the note you want to add must be after the figure itself, then your code is the right way to do this. you can simply wrap the note in a function called figure-note and call it after the figure.
#let figure-note(body) = pad(x: 0in, text(10pt)[Source: #body])
#figure(
image("imagenes/panda.jpg", width: 60%),
caption: [A picture of a panda]
)
#figure-note[trust me]
That’s a good solution! The only nitpick I have is that by redefining std elements, you prevent the LSP from doing its job (it also increases the chances of forgetting that figure is not std.figure.
A related question is how to display the note in an outline of the figures, instead of the caption. I found this post for a way to display a list of figures , but there you get the whole caption.