[pstricks] error in pst-circ with pst-optexp

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Jun 23 15:03:44 CEST 2014


Am 23.06.2014 13:22, schrieb Patrice MÉGRET:

> I have a small trouble with this example from pst-circ:
> 
> It works perfectly as expected without pst-optexp. If I also use
> pst-optexp, the key labelangle=:U gives this error:


pst-optexp defines the key labelangle, too. That is in general not
a good idea. However, use

\documentclass{article}
\usepackage{pst-optexp}
\usepackage{pst-circ}
\begin{document}

\begin{pspicture}(3,2)
\pnodes(0,0){A}(3,2){B}
\psset[pst-circ]{labelangle=:U,labeloffset=0}
\resistor(A)(B){$R$}
\end{pspicture}

\end{document}

Herbert




More information about the PSTricks mailing list