1
0
Fork
You've already forked zap
0
forked from grangelouis/zap
A package to draw advanced electronic circuits in Typst
  • Typst 100%
2026年05月19日 12:14:18 +02:00
.forgejo fix: CI using codeberg-tiny runner 2026年04月08日 11:11:31 +02:00
docs formatting 2026年04月13日 11:27:06 +02:00
examples updated tests and wedge/bubble consistency 2026年04月10日 17:33:37 +02:00
src Use "variant" instead of "style" 2026年05月19日 11:49:29 +02:00
tests Add tests 2026年05月19日 12:14:18 +02:00
.domains chore: added Codeberg Pages domain 2026年04月08日 12:46:01 +02:00
.gitignore migrated to forgejo 2026年03月29日 14:23:51 +02:00
CONTRIBUTING.md Actualiser CONTRIBUTING.md 2026年04月16日 10:41:47 +02:00
LICENSE Switch to Lesser version of GPL 2025年04月30日 19:46:14 +02:00
README.md refactor: fixed links to codeberg.org 2026年04月08日 16:24:40 +02:00
typst.toml refactor: fixed links to codeberg.org 2026年04月08日 16:24:40 +02:00

Zap for Typst

Zap is a Typst package that makes drawing electronic circuits simple and intuitive 💥. It's the first circuit library inspired by widely recognized standards 🧷 like IEC and IEEE/ANSI. Unlike circuitikz in LaTeX (2007), its design philosophy balances ease of use with powerful customization, avoiding any awkward syntax.

DocumentationExamples

Examples

You can find the full list of examples here.

Operational amplifier

Operational amplifier example

MicroController Unit

MicroController Unit example

Logic circuit

Logic circuit example

Quick usage

#import"@preview/zap:0.6.0"#zap.circuit({importzap:*// Here is a minimalist examplenode("B",(0,0))resistor("r1","B",(rel:(0,4)),i:$i_1$)})

Online documentation

You can find the full documentation 📚 available online. It provides comprehensive guides, a detailed list of components, styling options and example codes to get you started easily.

Contributing

I highly welcome contributions 🌱! Creating and maintaining Zap takes time and love. If you'd like to help, check out the contribution procedure and join the journey 🤩!