How to apply set rules to custom functions?

Hi,

you can overwrite your function like this.

#let formatXY = formatXY.with(color: red)

It will be possible to use show / set on custom functions in the future with custom elements, but for now you can use the above.

2 Likes