Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

l0uisgrange/zap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

671 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

Documentation β€” Examples β€” Forum

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.5.0"

#zap.circuit({
    import zap: *
    
    // Here is a minimalist example
    node("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 🀩!

About

A package to draw advanced electronic πŸ”‹ circuits in Typst

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 15

Languages