<!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.&nbsp; However, when I copy the following code</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>\makeatletter<BR>\def\psRotation#1(#2,#3)#4{%<BR>&nbsp; 
\rput{#1}(#2,#3){%<BR>&nbsp;&nbsp;&nbsp; 
\psellipticarc[linewidth=.4pt]{-&gt;}(0,-0.1)(0.6,0.15){120}{70}<BR>&nbsp;&nbsp;&nbsp; 
\ifdim#1pt&gt;\z@\rput[l]{*0}(0.675,0){#4}\else\rput[l](0.675,0){#4}\fi<BR>&nbsp; 
}%<BR>}<BR>\makeatother<BR>\pagestyle{empty}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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.&nbsp; To make 
things a bit more complicated, I am using Beamer and PSforPDF.&nbsp; The above 
code is&nbsp;included in&nbsp;the first PSforPDF call in the preamble just after 
the </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>\usepackage{pstricks,pst-3dplot,pst-node,pstricks-add}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>line</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am confused.&nbsp; 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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV></BODY></HTML>