In the TikZ circuit library, is there a symbol for a gas discharge tube?
In the manual I could not find anything regarding this (and the whole symbol list in there seems rather short, anyways).
tikz-circuit-libtikz-pgf
In the TikZ circuit library, is there a symbol for a gas discharge tube?
In the manual I could not find anything regarding this (and the whole symbol list in there seems rather short, anyways).
Best Answer
Two things are required to get Lionel's node to work like the other circuit components: You need to declare the symbol using
circuit declare symbol=<name>, set <name> graphic={shape=<shape name>, draw, transform shape,...}
, and you need to construct the shape around the local origin.Here's one way of doing this (note that I used the
circle ee
shape as the basis for the new symbol, because it already defines theinput
andoutput
anchors.