<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am drawing several diagrams that involve showing
angular velocities, represented by partial circular arcs, much as are shown in
the spinning top example in the Kreisel.tex file, implemented by the small macro
\psRotation. However, when I copy the following code</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>\makeatletter<BR>\def\psRotation#1(#2,#3)#4{%<BR>
\rput{#1}(#2,#3){%<BR>
\psellipticarc[linewidth=.4pt]{->}(0,-0.1)(0.6,0.15){120}{70}<BR>
\ifdim#1pt>\z@\rput[l]{*0}(0.675,0){#4}\else\rput[l](0.675,0){#4}\fi<BR>
}%<BR>}<BR>\makeatother<BR>\pagestyle{empty}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>into my file and try to use it, I get un undefined
control sequence \z</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I look at the code in the Kreisel example, it
looks undefined to me, but the Kreisel example compiles and works. To make
things a bit more complicated, I am using Beamer and PSforPDF. The above
code is included in the first PSforPDF call in the preamble just after
the </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>\usepackage{pstricks,pst-3dplot,pst-node,pstricks-add}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>line</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am confused. As an aside, this would be a
useful macro to have in the PSTRICKS (or other) package</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV></BODY></HTML>