no font is set in circuit

This commit is contained in:
2025-08-17 15:31:09 +03:00
parent f2ce91ec39
commit 1a0a659ace

View File

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