[pstricks] arcangle=nonconstant?
Herbert Voss
LaTeX at zedat.fu-berlin.de
Tue Jan 24 23:37:03 CET 2006
Bob Tennent wrote:
> I need to compute the arcangle parameter for \ncarc but can't get anything
> except literal numbers to work; is there something I'm missing?
\documentclass[12pt]{article}%
\usepackage{pst-node}
\parindent=0pt
\begin{document}
\pnode(0,0){A}\pnode(11,0){B}
\makeatletter
\def\psk at arcangleA{ 180 2 div }
\def\psk at arcangleB{ 180 2 div neg }
\makeatother
\ncarc{A}{B} \ncarc[arcangle=10]{B}{A}
\end{document}
Herbert
More information about the PSTricks
mailing list