Compare commits
2 Commits
9a6973fb89
...
9a1fda087c
Author | SHA1 | Date | |
---|---|---|---|
9a1fda087c | |||
c5a0cf7ecc |
13
README.md
13
README.md
@ -52,16 +52,13 @@ Circuiteria is a [Typst](https://typst.app) package for drawing block circuit di
|
|||||||
*Click on the example image to jump to the code.*
|
*Click on the example image to jump to the code.*
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
For information, see the [manual](manual.pdf)
|
For more information, see the [manual](manual.pdf)
|
||||||
|
|
||||||
To use this package, simply import [src/lib.typ](src/lib.typ) and call the `circuit` function:
|
To use this package, simply import [circuiteria](https://typst.app/universe/package/circuiteria) and call the `circuit` function:
|
||||||
```typ
|
```typ
|
||||||
#import "src/lib.typ"
|
#import "@preview/circuiteria:0.1.0"
|
||||||
#lib.circuit({
|
#circuiteria.circuit({
|
||||||
import lib: *
|
import circuiteria: *
|
||||||
...
|
...
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installing
|
|
||||||
> TODO
|
|
||||||
|
BIN
manual.pdf
BIN
manual.pdf
Binary file not shown.
@ -52,13 +52,13 @@
|
|||||||
h: none,
|
h: none,
|
||||||
name: none,
|
name: none,
|
||||||
name-anchor: "center",
|
name-anchor: "center",
|
||||||
ports: (),
|
ports: (:),
|
||||||
ports-margins: (),
|
ports-margins: (:),
|
||||||
fill: none,
|
fill: none,
|
||||||
stroke: black + 1pt,
|
stroke: black + 1pt,
|
||||||
id: "",
|
id: "",
|
||||||
auto-ports: true,
|
auto-ports: true,
|
||||||
ports-y: (),
|
ports-y: (:),
|
||||||
debug: (
|
debug: (
|
||||||
ports: false
|
ports: false
|
||||||
)
|
)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#let version = version((0,0,3))
|
#let version = version(0, 1, 0)
|
||||||
|
|
||||||
#import "circuit.typ": circuit
|
#import "circuit.typ": circuit
|
||||||
#import "element.typ"
|
#import "element.typ"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "circuiteria"
|
name = "circuiteria"
|
||||||
version = "0.0.3"
|
version = "0.1.0"
|
||||||
compiler = "0.11.0"
|
compiler = "0.11.0"
|
||||||
repository = "https://git.kb28.ch/HEL/circuiteria"
|
repository = "https://git.kb28.ch/HEL/circuiteria"
|
||||||
entrypoint = "src/lib.typ"
|
entrypoint = "src/lib.typ"
|
||||||
@ -11,4 +11,4 @@ categories = [ "visualization" ]
|
|||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
description = "Drawing block circuits with Typst made easy, using CeTZ"
|
description = "Drawing block circuits with Typst made easy, using CeTZ"
|
||||||
keywords = [ "circuit", "block", "draw" ]
|
keywords = [ "circuit", "block", "draw" ]
|
||||||
exclude = [ "/gallery/*" ]
|
exclude = [ "gallery", "gallery.bash", "doc" ]
|
Loading…
Reference in New Issue
Block a user