forked from HEL/circuiteria
beda61b9f4b7776035954dde0ce8b087527c18e5
When `zigzag-dir` is `auto` (the new default), deduce it from the endpoint port anchors using `detect-port-side`. East/west ports yield "vertical" and north/south ports yield "horizontal". If the direction cannot be deduced (no port anchor on either endpoint, or conflicting directions) it falls back to "vertical", the previous default.
circuiteria
Circuiteria is a Typst package for drawing block circuit diagrams using the CeTZ package.
Examples
|
|
| A bit of everything | |
|
|
| Wires everywhere | |
|
|
| Groups | Rotated |
Note
These circuit layouts were copied from a digital design course given by prof. S. Zahno and recreated using this package
Click on the example image to jump to the code.
Usage
For more information, see the manual
To use this package, simply import circuiteria and call the circuit function:
#import "@preview/circuiteria:0.2.1"
#circuiteria.circuit({
import circuiteria: *
...
})
Description
Drawing block circuits with Typst made easy, using CeTZ
11 MiB
0 Stars
1 Watchers
0 Forks
Languages
Typst
99.8%
Just
0.2%
