updated README and manual with new version

This commit is contained in:
Louis Heredero 2025-03-01 22:23:52 +01:00
parent 841f53e76c
commit 371caf094c
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7
3 changed files with 15 additions and 5 deletions

View File

@ -56,7 +56,7 @@ For more information, see the [manual](manual.pdf)
To use this package, simply import [circuiteria](https://typst.app/universe/package/circuiteria) and call the `circuit` function:
```typ
#import "@preview/circuiteria:0.1.0"
#import "@preview/circuiteria:0.2.0"
#circuiteria.circuit({
import circuiteria: *
...

Binary file not shown.

View File

@ -103,11 +103,21 @@ This package provides a way to make beautiful block circuit diagrams using the C
= Usage
Simply import #link("src/lib.typ") and call the `circuit` function:
Simply import Circuiteria and call the `circuit` function:
#pad(left: 1em)[```typ
#import "src/lib.typ"
#lib.circuit({
import lib: *
#import "@preview/circuiteria:0.2.0"
#circuiteria.circuit({
import circuiteria: *
...
})
```]
== Project installation
If you have installed Circuiteria directly in your project, import #link("src/lib.typ") and call the `circuit` function:
#pad(left: 1em)[```typ
#import "src/lib.typ" as circuiteria
#circuiteria.circuit({
import circuiteria: *
...
})
```]