5

After reading the manual following question remained unanswered: Is there a transmission gate symbol (the one on the right) built into tikz/circuitikz?

If not, is there an extension providing the node? How would someone include such a node for use in tikz/circuitikz?

Transmission gate symbols

3
  • page 18 of the manual is what you are looking for -- kebo.pens.ac.id/CTAN/graphics/circuit_macros/doc/CMman.pdf -- the tgate needs to be rotated-- how to use it will require someone with more experience than me
    – js bibra
    Feb 3, 2020 at 15:34
  • 1
    If you plan to use it a lot, one can create the symbol. You need to think about the relative size and anchor names, and whether to make it a bipole (with extra anchors) or only a node. Feb 3, 2020 at 20:27
  • As said by @JohnKormylo --- if you want you can open a component request on github.com/circuitikz/circuitikz/issues --- specifying more thing like relative default size (for example w/ respect to a logic gate, or a MOSFET, or whatever fits better), what must be filled if the symbol has to be filled, if it's main use is as a bipole or as a node component... no promises, but sometimes I have a bit of spare time... ;-)
    – Rmano
    Feb 18, 2020 at 15:53

1 Answer 1

7

update

Since release 1.2.4 (unreleased now, but soon to come) you can use the new tgate and double tgate components:

enter image description here

...also in path-style version:

enter image description here

old answer

Really there is no such a symbol in circuitikz --- you can make a request on the issue tracker but it will be after 1.0, I suspect.

The nice thing is that you can quite build it with the new muxdemux shape (version 1.0.0-pre2 or better):

\documentclass[border=10pt]{standalone}
\usepackage[siunitx, RPvoltages]{circuitikz}
\begin{document}
\begin{circuitikz}[
    simple triangle/.style={muxdemux, muxdemux def={
            NL=1, NR=1, NB=1, NT=1, w=2, Lh=2, Rh=0,
            },
        }
    ]
    \draw (0,0) node[simple triangle, anchor=left, no input leads](LtoR){}
                (LtoR.right) node[simple triangle, xscale=-1, anchor=left](RtoL) {};
                \node [ocirc] at ([yshift=.5ex]LtoR.btpin 1) {};
\end{circuitikz}
\end{document}

you need to adjust manually the position of the not symbol, but the result is quite nice:

output of the code snippet above

2
  • 3
    Very good...and good work.
    – Sebastiano
    Feb 3, 2020 at 16:35
  • 2
    Thanks @Sebastiano!
    – Rmano
    Feb 3, 2020 at 16:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .