diff --git a/src/element.typ b/src/element.typ index f375289..89c3032 100644 --- a/src/element.typ +++ b/src/element.typ @@ -15,6 +15,6 @@ #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_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 \ No newline at end of file diff --git a/src/elements/logic/iec_xor.typ b/src/elements/logic/iec_xor.typ index d669b30..efbbf83 100644 --- a/src/elements/logic/iec_xor.typ +++ b/src/elements/logic/iec_xor.typ @@ -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") -/// #examples.iec-gate-nxor -#let iec-gate-nxor( +/// #examples.iec-gate-xnor +#let iec-gate-xnor( x: none, y: none, w: none, diff --git a/src/gates.typ b/src/gates.typ index cf2b350..616cc57 100644 --- a/src/gates.typ +++ b/src/gates.typ @@ -7,4 +7,4 @@ #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_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