-
Notifications
You must be signed in to change notification settings - Fork 10
Description
For some reason, the hidden arcs drawn in smartart/cycle.typ are rendered, even though they are wrapped inside a draw.hide:
cetz-plot/src/smartart/cycle.typ
Lines 180 to 183 in 4f96548
| draw.hide(draw.arc-through( | |
| ..pts, | |
| name: "arc-" + str(i) | |
| )) |
I suspect this is because cetz-plot uses CeTZ v0.4.0 while the canvas is from v0.4.2, as demonstrated below
#import "@preview/cetz:0.4.1" as cetz4-1
#import "@preview/cetz:0.4.2" as cetz4-2
#cetz4-2.canvas({
cetz4-1.draw.hide({
cetz4-1.draw.arc-through(
(0, 0),
(1, 0.5),
(2, 0)
)
})
})
The version of CeTZ used my CeTZ-Plot should thus be updated, but it seems like a breaking change was introduced between 0.4.1 and 0.4.2
Metadata
Metadata
Assignees
Labels
No labels