<div dir="ltr">Hello,<div><br></div><div>I tried to use the \newSwitch component of the ps-circ package. I only tested a simple code like this:</div><div><p style="margin:0px">\documentclass[pstricks]{standalone}</p>
<p style="margin:0px">%</p>
<p style="margin:0px">\usepackage[T1]{fontenc}</p>
<p style="margin:0px">\usepackage{xunicode}</p>
<p style="margin:0px">\usepackage[francais]{babel}</p>
<p style="margin:0px">%%%%%%%%%%%%%%%%%%%%%%%%%</p>
<p style="margin:0px">%ps tricks package</p>
<p style="margin:0px">\usepackage{pstricks}</p>
<p style="margin:0px">\usepackage{pstricks-add}</p>
<p style="margin:0px">%%%%%%%%%%%%%%%%%%%%%%%%%</p>
<p style="margin:0px">%to draw electric circuits</p>
<p style="margin:0px">\usepackage{pst-circ}</p>
<p style="margin:0px">%%%%%%%%%%%%%%%%%%%%%%%%%</p>
<p style="margin:0px">%Define node for usage in the drawing</p>
<p style="margin:0px">\usepackage{pst-node}</p>
<p style="margin:0px">%</p>
<p style="margin:0px">\begin{document}</p>
<p style="margin:0px">%%%%%%%%%%%%%%%%%%%%%%%%%%</p>
<p style="margin:0px">%definition of the unit scale  default=1cm</p>
<p style="margin:0px">\psset{unit=1cm}</p>
<p style="margin:0px">%PSPicture</p>
<p style="margin:0px">\begin{pspicture}(0,0)(4,4)</p>
<p style="margin:0px">\newSwitch(1,1)(3,3){$S_1$}</p>
<p style="margin:0px">\end{pspicture}</p>
<p style="margin:0px">\end{document}</p><p style="margin:0px"><br></p><p style="margin:0px">I got from the output console this error:</p></div><div><br></div><div><p style="margin:0px">("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tipa\t3cmr.fd")</p>

<p style="margin:0px">! Undefined control sequence.</p>
<p style="margin:0px">l.23 \newSwitch</p>
<p style="margin:0px">               (1,1)(3,3){$S_1$}</p><p style="margin:0px"><br></p><p style="margin:0px">All the new components as newdiode are working well expect this one. </p><p style="margin:0px">Do any one have a solution for me??</p>
<p style="margin:0px"><br></p><p style="margin:0px">Julien</p></div></div>