For constructing slides especially, it would be very useful to be able to place an image (eg using #image("path/to/thing.png") and then place drawings on top of it.
I tried naively to add a call to image() inside a cetz figure,
#cetz.canvas({
import cetz.draw: *
// Your drawing code goes here
image("assets/decision-tree_1.png")
// Draw a circle and place its "west" anchor at the origin.
circle((0,0), anchor: "west")
})
For constructing slides especially, it would be very useful to be able to place an image (eg using
#image("path/to/thing.png")
and then place drawings on top of it.Something like this is possible with tikz, eg:
I tried naively to add a call to
image()
inside a cetz figure,But this gives
Is there any way to accomplish this?