[pstricks] arcangle=nonconstant?
Herbert Voss
LaTeX at zedat.fu-berlin.de
Wed Jan 25 16:08:49 CET 2006
Bob Tennent wrote:
> Thanks. This seems to be showing me how to compute in Postscript. I'm
> happy enough to do computation in LaTeX because I don't know Postscript.
> 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)?
\listfiles
\documentclass{article}
\usepackage{pst-node}
\parindent=0pt
\newcounter{mycounter}
\setcounter{mycounter}{90}
\begin{document}
\pnode(0,0){A}\pnode(11,0){B}
\ncarc[arcangleA=\themycounter]{A}{B}
\end{document}
\documentclass[12pt]{article}%
\usepackage{pst-node,multido,pstricks-add}
\parindent=0pt
\begin{document}
Herbert
More information about the PSTricks
mailing list