2
votes
1answer
118 views

Defining a custom symbol by path in TikZ

I want to define a 2-to-1 multiplexer symbol, defined by this path: (0,0) -- (1,-0.5) -- (1,-1.25) -- (1.3,-1.25) -- (1,-1.25)-- (1,-2) -- (0,-2.5) -- (0,-1.75) -- (-0.3,-1.75) -- (0,-1.75) -- ...
1
vote
1answer
1k views

Defining a \newcommand for environment in CircuiTikz

I have made the following macro for an op-amp with open connectors in circuitikz: \newenvironment{opamp5}[5] { \begin{circuitikz} \draw (0,0) node[op amp] (opamp) {}; \draw (-2,-0.49) to[short, o-] ...