1

I need to draw this TL equivalent circuit in LaTeX using circuitikz, but I don't know how to draw the ellipses. Does anybody know how to do it?

Chain of inductors and capacitors with ellipses on the top and bottom rails to show that it's infinitely long

1

1 Answer 1

6

No comments again.

\documentclass{article}
\usepackage{circuitikz}
\ctikzset{bipoles/thickness =1}
\begin{document}
  \begin{circuitikz}[line width=1pt]
    \draw (0,2) to[L,l=$L'$,*-*] (2,2)
          (2,0) to[C,l=$C'$,-*] (2,2)
          (2,0) to[short,-*] (0,0)
    ;
    \begin{scope}[xshift=2cm]
    \draw (0,2) to[L,l=$L'$,*-*] (2,2)
          (2,0) to[C,l=$C'$,-*] (2,2)
          (2,0) to[short,-*] (0,0)
    ;
    \end{scope}
    \begin{scope}[xshift=4cm]
    \draw (0,2) to[L,l=$L'$,*-*] (2,2)
          (2,0) to[C,l=$C'$,-*] (2,2)
          (2,0) to[short,-*] (0,0)
    ;
    \end{scope}
    \begin{scope}[xshift=6cm]
    \draw (0,2) --  (2,2)node[midway,scale=2,fill=white]{$\cdots$};
    \draw (0,0) -- (2,0)node[midway,scale=2,fill=white]{$\cdots$};
    \end{scope}
    \draw (8,2) to[L,l=$L'$,-*] (10,2) to[short,-*] (11,2)
          (10,0) to[C,l=$C'$,-*] (10,2)
          (11,0) to[short,*-](10,0) to[short,*-] (8,0)
    ;
  \end{circuitikz}
\end{document}

enter image description here

You can do away with scopes too by using proper coordinates.

3
  • +1, but too obvious with \cdots.. what about \draw[loosely dotted](0,2) -- (2,2);? Mar 13, 2015 at 16:01
  • @ClaudioFiandrino Fair point. I was trying to reproduce the OP's picture almost as it is. It has solid lines at left and right edges and I thought by \cdots, I can dispense with at least one coordinate in the middle.
    – user11232
    Mar 13, 2015 at 22:18
  • Indeed, that's the perfect solution... Mar 14, 2015 at 9:09

You must log in to answer this question.

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