[pstricks] uput and \SpecialCoor
Juergen Rose
rose at rz.uni-potsdam.de
Mon Nov 4 10:11:05 CET 2013
On Sun, 2013-11-03 at 09:12 -0800, Werner Grundlingh wrote:
> Your \uput is malformed. The syntax is
> \uput*{<labelsep>}[<refangle>]{<rotation>}(<x>,<y>){<stuff>}
> Some of the components are optional (even though they are braced). You
> might be after an interface that resembles
> \uput[d]{0}(! 2 1.4 mul 1.8){$t$}
> I don't really know what you're after though, so my selection could be
> completely wrong.
>
>
>
> As reference, see the pstricks documentation, specifically section 24
> Placing and rotating whatever on page 43.
...
> On Sun, Nov 3, 2013 at 8:18 AM, Juergen Rose <rose at rz.uni-potsdam.de>
> wrote:
> If I use the following code, it works:
>
> \begin{pspicture}[showgrid=true](\xpsmin,\ypsmin)(\xpsmax,
> \ypsmax)
> \psaxes[]{->}(0,0)(-0.3,-0.3)(\xmax,\ymax)
>
> \psdot[linecolor=cyan](! 2 45 cos mul 2 45 sin mul)
>
> \pstGeonode(\yCthree,\zCthree){C_3}(\yCfour,\zCfour){C_4}
> \pstGeonode[PointName={}](\yCfourProj,\zCfourProj){C4P}
> \pstGeonode[PosAngle=180](\yA,\zA){A}
>
> \ncline{C_4}{A}
> \ncline{A}{C_3}
> \ncline{C_3}{C_4}
>
> \ncline{C_4}{C4P}
>
> \rput(! 2 1.4 mul 1.8){$t$}
> \end{pspicture}
>
> If I replace the last rput statement with a uput statement, it
> fails
> with:
>
> ...
> ( FP-UPN ( FP-MUL ) ( FP-ADD ) )
> ! Use of \uput at ii doesn't match its definition.
> l.53 \uput(!
> 2 1.4 mul 1.8t$}
> ?
>
> Is this intentional or do I make something wrong?
>
> In the attachment there is a working example
> main_0_article.tex with
> rput and a failing example main_1_article.tex.
Werner, thanks for your correction. Now it works.
More information about the PSTricks
mailing list