Skip to content

l0uisgrange/zap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡️ Zap for Typst

Zap is a lightweight 🪶 Typst package that makes drawing electronic circuits simple and intuitive. It's the first Typst library designed to align with widely recognized standards like IEC and IEEE/ANSI 📜.

DocumentationExamplesForum

Simple examples

You can find the full list of examples here.

Example 1 Example 2
Simple example Wheatstone bridge

Quick usage

#import "@preview/zap:0.2.1"

#zap.canvas({
    import zap: *

    isource("i1", (0,0), (5,0))
    resistor("r1", (5,5), (0,5))
    wire("r1.out", "i1.out")
})

Online documentation

You can find the full documentation 📚 available online. It provides comprehensive guides, a detailed list of components, full API references, 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 🤩!

About

A package to draw circuits in Typst using CeTZ superpowers

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 8

Languages