I would like to draw a Josephson junction which looks like this:

enter image description here

and make circuit with circuitikz in latex.

Is it possible to define it as an element of a circuit and use it like a node?


This takes the code for the bipole oscope, removes the rounded corners, the grid and the plot from it and instead adds the big cross.


    % put the node text above and centered
\tikzset{josephson/.style = {\circuitikzbasekey, /tikz/to path=\pgf@circ@josephson@path, l=#1}}

  \draw (0,0) to[josephson] (3,0);
  \draw (1,1) to[josephson] (2,4);

enter image description here

|improve this answer|||||
  • This is what I want, but I have problem with compile the code. First I get that: Undefined control sequence. \pgfcircdeclarebipolescaled. Then Missing \begin{document} and bunch of other errors – Tomasz Dec 11 '19 at 23:11
  • Ok. I found solution. I had to import circuitikzgit with \usepackage{circuitikzgit} instead of \usepackage{circuitikz}. Witch I downloaded from circuitikz.github.io/circuitikz/circuitikzgit.sty . Thank you @Skillmon – Tomasz Dec 11 '19 at 23:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.