v0.2.0: Updates #5
| @@ -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: | To use this package, simply import [circuiteria](https://typst.app/universe/package/circuiteria) and call the `circuit` function: | ||||||
| ```typ | ```typ | ||||||
| #import "@preview/circuiteria:0.1.0" | #import "@preview/circuiteria:0.2.0" | ||||||
| #circuiteria.circuit({ | #circuiteria.circuit({ | ||||||
|   import circuiteria: * |   import circuiteria: * | ||||||
|   ... |   ... | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								manual.pdf
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								manual.pdf
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										18
									
								
								manual.typ
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								manual.typ
									
									
									
									
									
								
							| @@ -103,11 +103,21 @@ This package provides a way to make beautiful block circuit diagrams using the C | |||||||
|  |  | ||||||
| = Usage | = Usage | ||||||
|  |  | ||||||
| Simply import #link("src/lib.typ") and call the `circuit` function: | Simply import Circuiteria and call the `circuit` function: | ||||||
| #pad(left: 1em)[```typ | #pad(left: 1em)[```typ | ||||||
| #import "src/lib.typ" | #import "@preview/circuiteria:0.2.0" | ||||||
| #lib.circuit({ | #circuiteria.circuit({ | ||||||
|   import lib: * |   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: * | ||||||
|   ... |   ... | ||||||
| }) | }) | ||||||
| ```] | ```] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user