A simple \ncloop question...

Christophe.JORSSEN Christophe.JORSSEN at wanadoo.fr
Wed Dec 8 16:21:58 CET 1999


-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------

Thank you for your answers. It wasn't as simple as I thought...

However, I have another question. Look at the position of the label in those
two cases. Can somebody explain why there is a difference?

\documentclass{article}

\usepackage{pst-node}

\pagestyle{empty}

\begin{document}

\psset{nodesep=3pt,nrot=:U}

\psframebox[framesep=0]{%
\begin{pspicture}(-1,-1)(1,1)
    \rnode{B}{\psframebox{On a actionn\'e $k_1$}}
    \ncangles[angleA=90,angleB=180,arm=0.5,linearc=.2]{->}{B}{B}
    \nbput{\rotatedown{\tiny$k_1=1$ et $k_2=0$}}
\end{pspicture}}

\psframebox[framesep=0]{%
\begin{pspicture}(-1,-1)(1,1)
    \rnode{B}{\psframebox{On a actionn\'e $k_1$}}

\ncloop[angleA=90,angleB=180,loopsize=-2,armA=0.5,armB=0,linearc=.2]{->}{B}{
B}
    \nbput{\rotatedown{\tiny$k_1=1$ et $k_2=0$}}
\end{pspicture}}

\end{document}

Thanks

CJ


-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://www.tug.org/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------



More information about the PSTricks mailing list