1
0
forked from HEL/circuiteria

font arguement, radius arguement

now in `block.typ` the radius is optional
and the font can be set in the canvas
This commit is contained in:
2025-08-17 14:00:21 +03:00
parent 2bb7e3b5a9
commit 043bb339fe
2 changed files with 8 additions and 7 deletions

View File

@@ -8,7 +8,7 @@
/// - body (none, array, element): A code block in which draw functions have been called
/// - length (length, ratio): Optional base unit
/// -> none
#let circuit(body, length: 2em) = {
set text(font: "Source Sans 3")
#let circuit(body, length: 2em, font: "Source Sans 3") = {
set text(font: font)
canvas(length: length, body)
}
}