[pstricks] pst-circ: newswitch give an undefined sequence error
Julien Morand
julienmorand2 at gmail.com
Fri Mar 21 20:33:03 CET 2014
Hello,
I tried to use the \newSwitch component of the ps-circ package. I only
tested a simple code like this:
\documentclass[pstricks]{standalone}
%
\usepackage[T1]{fontenc}
\usepackage{xunicode}
\usepackage[francais]{babel}
%%%%%%%%%%%%%%%%%%%%%%%%%
%ps tricks package
\usepackage{pstricks}
\usepackage{pstricks-add}
%%%%%%%%%%%%%%%%%%%%%%%%%
%to draw electric circuits
\usepackage{pst-circ}
%%%%%%%%%%%%%%%%%%%%%%%%%
%Define node for usage in the drawing
\usepackage{pst-node}
%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%
%definition of the unit scale default=1cm
\psset{unit=1cm}
%PSPicture
\begin{pspicture}(0,0)(4,4)
\newSwitch(1,1)(3,3){$S_1$}
\end{pspicture}
\end{document}
I got from the output console this error:
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tipa\t3cmr.fd")
! Undefined control sequence.
l.23 \newSwitch
(1,1)(3,3){$S_1$}
All the new components as newdiode are working well expect this one.
Do any one have a solution for me??
Julien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140321/0ca3de5a/attachment.html>
More information about the PSTricks
mailing list