[pstricks] funny behaviour of nodes

Doris Wagner doris.wagner at mac.com
Fri Sep 26 18:18:12 CEST 2008


hi list,

please could somebody have a look at the following code?

the problem I stumbled upon is:

Z does what it should, while W,X and Y don't, that is:

ZC \perp BC
XF \perp BC
YB \perp BC
YW \perp BC







by the way: same behaviour with different viewers, same with article

\documentclass{beamer}
\usepackage{pstricks,pst-eucl}\usepackage{pstricks-add}
\pagestyle{empty}

\begin{document}
\psset{linecolor=gray}
\begin{frame}
\begin{pspicture*}(12,13)
\onslide<+->{%
\psgrid[subgriddiv=0,gridwidth=.3pt]
%
%A,B,C:
\dotnode(3.5,6){A}\dotnode(8.5,6){B}
\uput{.3}[d]{0}(A){$A$}
\uput{.3}[d]{0}(B){$B$}
\pstInterCC
[PointNameA
=C,PosAngleA=90,PointNameB=none,PointSymbolA=*,PointSymbolB=none,
RadiusA=\pstDistVal{3},RadiusB=\pstDistVal{4}]%
{A}{ }{B}{ }{C}{X}
%
%D,E,F:
\pstInterLC
[PointNameA=none,PointNameB=D,PointSymbolA=none,PointSymbolB=*]%
{B}{C}{C}{A}{U}{D}
\pstInterCC
[PointNameA=none,PointNameB=none,PointSymbolA=none,PointSymbolB=none,
RadiusA=\pstDistVal{4},RadiusB=\pstDistVal{3}]%
{A}{ }{B}{ }{Z}{Y}
\pstInterLC
[PointNameA=E,PointNameB=none,PointSymbolA=*,PointSymbolB=none]%
{A}{Y}{A}{C}{E}{V}
\dotnode[dotstyle=*]([nodesep=5]E){F}
\uput{.3}[d]{0}(F){$F$}
\pstLineAB[nodesepA=20,nodesepB=20,linewidth=.5pt]{B}{C}
%
\psdot[linecolor=black,dotstyle=*,dotsize=1pt](A)
\psdot[linecolor=black,dotstyle=*,dotsize=1pt](B)
\psdot[linecolor=black,dotstyle=*,dotsize=1pt](C)
\psdot[linecolor=black,dotstyle=*,dotsize=1pt](D)
\psdot[linecolor=black,dotstyle=*,dotsize=1pt](E)
\psdot[linecolor=black,dotstyle=*,dotsize=1pt](F)
%
%W,X,Y,Z:
\dotnode[linecolor=red,dotstyle=*,dotsize=1pt]([offset=.1]{B}F){X}
\dotnode[linecolor=green,dotstyle=*,dotsize=1pt]([offset=-.1]{F}B){Y}
\dotnode[linecolor=cyan,dotstyle=*,dotsize=1pt]([offset=.2]{B}C){Z}
\dotnode[linecolor=olive,dotstyle=*,dotsize=1pt]([offset=-.2]{C}B){W}
%
\uput{.2}[ur]{0}(X){\textcolor{red}{\scriptsize$X$}}
\uput{.2}[u]{0}(Y){\textcolor{green}{\scriptsize$Y$}}
\uput{.2}[ur]{0}(Z){\textcolor{cyan}{\scriptsize$Z$}}
\uput{.2}[ur]{0}(W){\textcolor{olive}{\scriptsize$W$}}
%
}%end onslide
\end{pspicture*}\end{frame}
\end{document}




More information about the PSTricks mailing list