1
0
forked from HEL/circuiteria

added doc for circuit, util and wire

This commit is contained in:
2024-05-17 09:36:38 +02:00
parent ef4461bd18
commit 7e0209b712
5 changed files with 99 additions and 0 deletions

View File

@ -1,5 +1,11 @@
#import "@preview/cetz:0.2.2": canvas
#import "@preview/tidy:0.3.0"
/// Draws a block circuit diagram
///
/// - 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")
canvas(length: length, body)