Can we have a function for Dirac slash notation?
mandalaritra1 opened this issue · comments
The default angle in the cancel
function does not look good as Dirac slash. Can we have something which looks like
slashed(D) -> $cancel(D, angle: #18deg)$
?
Try
#let slashed = math.cancel.with(angle: 18deg)
$slashed(D)$
or even
#let dirac = $cancel(D, angle: #18deg)$
$dirac$
Also, this is the wrong repository to open an issue related to Typst (the correct repository is https://github.com/typst/typst).