[pstricks] arcangle=nonconstant?
Herbert Voss
LaTeX at zedat.fu-berlin.de
Wed Jan 25 21:06:42 CET 2006
Bob Tennent wrote:
> >|> But either way, I need to do computation with numbers known to LaTeX,
> >|> not just constants (180, 2, etc.). Suppose I have the angle I want in a
> >|> TeX counter; how do I pass that number to \ncarc (or to Postscript)?
> >|
> >|\newcounter{mycounter}
> >|\setcounter{mycounter}{90}
> >|
> >|\pnode(0,0){A}\pnode(11,0){B}
> >|\ncarc[arcangleA=\themycounter]{A}{B}
>
> Thanks. Is there a way to make this work with \SpecialCoor?
>
> \newcounter{xx}
> \newcounter{yy}
> \setcounter{xx}{5}
> \setcounter{yy}{3}
>
> \pnode(0,0){A}\pnode(10,0){B}
> \SpecialCoor
> \ncarc[arcangle=(\thexx,\theyy)]{A}{B}
\ncarc[arcangle={(\thexx,\theyy)}]{A}{B}
Herbert
More information about the PSTricks
mailing list