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

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Jun 24 09:37:34 CEST 2014


Am 23.06.2014 22:49, schrieb Christoph Bersch:
> 
> Zitat von Herbert Voss <Herbert.Voss at fu-berlin.de>:
> 
>> Am 23.06.2014 18:09, schrieb Christoph Bersch:
>>>
>>> The problem is, that labelangle works differently in pst-circ and
>>> pst-optexp, although it does more or less the same. In pst-optexp only
>>> numbers are allowed, whereas in pst-circ you can use the syntax of
>>> `nrot`. I could of course skip the check for labelangle being a number,
>>> but that might hide problems in other cases.
>>
>> then you have to define something like
>>
>> \mirror[linestyle=dashed,optexp={labelangle=-45,labeloffset=0}](A)(B)(C){M}
>>
> 
> That wouldn't really help. Especially if packages try to use very simple
> and comprehensive parameter names, but which may have a different

Sorry, but

\define at key[psset]{}{circ}{\psset[pst-circ]{#1}}

and then

\resistor[circ={labelangle=:U,labeloffset=0},linestyle=dashed](A)(B){$R$}

will work.


Herbert



More information about the PSTricks mailing list