feature: add IEC gates #11
| @@ -15,6 +15,6 @@ | |||||||
| #import "elements/logic/iec_and.typ": iec-gate-and, iec-gate-nand | #import "elements/logic/iec_and.typ": iec-gate-and, iec-gate-nand | ||||||
| #import "elements/logic/iec_buf.typ": iec-gate-buf, iec-gate-not | #import "elements/logic/iec_buf.typ": iec-gate-buf, iec-gate-not | ||||||
| #import "elements/logic/iec_or.typ": iec-gate-or, iec-gate-nor | #import "elements/logic/iec_or.typ": iec-gate-or, iec-gate-nor | ||||||
| #import "elements/logic/iec_xor.typ": iec-gate-xor, iec-gate-nxor | #import "elements/logic/iec_xor.typ": iec-gate-xor, iec-gate-xnor | ||||||
|  |  | ||||||
| #import "elements/group.typ": group | #import "elements/group.typ": group | ||||||
| @@ -34,11 +34,11 @@ | |||||||
|   ) |   ) | ||||||
| } | } | ||||||
|  |  | ||||||
| /// Draws an IEC-NXOR gate. This function is also available as `element.iec-gate-nxor()` | /// Draws an IEC-XNOR gate. This function is also available as `element.iec-gate-xnor()` | ||||||
| ///  | ///  | ||||||
| /// For parameters, see #doc-ref("gates.iec-gate") | /// For parameters, see #doc-ref("gates.iec-gate") | ||||||
| /// #examples.iec-gate-nxor | /// #examples.iec-gate-xnor | ||||||
| #let iec-gate-nxor( | #let iec-gate-xnor( | ||||||
|   x: none, |   x: none, | ||||||
|   y: none, |   y: none, | ||||||
|   w: none, |   w: none, | ||||||
|   | |||||||
| @@ -7,4 +7,4 @@ | |||||||
| #import "elements/logic/iec_and.typ": iec-gate-and, iec-gate-nand | #import "elements/logic/iec_and.typ": iec-gate-and, iec-gate-nand | ||||||
| #import "elements/logic/iec_or.typ": iec-gate-or, iec-gate-nor | #import "elements/logic/iec_or.typ": iec-gate-or, iec-gate-nor | ||||||
| #import "elements/logic/iec_buf.typ": iec-gate-buf, iec-gate-not | #import "elements/logic/iec_buf.typ": iec-gate-buf, iec-gate-not | ||||||
| #import "elements/logic/iec_xor.typ": iec-gate-xor, iec-gate-nxor | #import "elements/logic/iec_xor.typ": iec-gate-xor, iec-gate-xnor | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user