[pstricks] funny behaviour of pstArcOAB
Doris Wagner
doris.wagner at mac.com
Fri Sep 26 19:28:30 CEST 2008
hi list,
in the following code, the command \pstCircleOA of the euclid-package
uses the point A as center, as it should.
but \pstArcOAB and \pstArcnOAB don't:
\documentclass{beamer}
\usepackage{pstricks,pst-eucl}\usepackage{pstricks-add}
\begin{document}
\psset{unit=.7cm}
\psset{linecolor=gray}
\begin{frame}
\onslide<+->{%
\begin{pspicture*}(12,13)
\psgrid[subgriddiv=0,gridwidth=.3pt]
\dotnode(3.5,6){A}\dotnode(8.5,6){B}
\uput{.3}[dl]{0}(A){$A$}
\pstInterCC
[PointNameA=none,PointNameB=none,PointSymbolA=*,PointSymbolB=none,
RadiusA=\pstDistVal{3},RadiusB=\pstDistVal{4}]%
{A}{ }{B}{ }{C}{X}
\pspolygon[fillstyle=solid,fillcolor=lightgray,showpoints=true](A)(B)(C)
\pspolygon[showpoints=true,linecolor=black](A)(B)(C)
\pstInterLC
[PointNameA=none,PointNameB=none,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=none,PointNameB=none,PointSymbolA=*,PointSymbolB=none]%
{A}{Y}{A}{C}{E}{V}
\psline(A)(E)(D)(C)
\pnode([nodesep=5]E){F}
\psline[showpoints=true](E)(F)
\pspolygon[linewidth=1.2pt,linecolor=black,showpoints=true](A)(B)(F)(E)
\dotnode[dotstyle=*](3.5,1){G}
\dotnode[dotstyle=*]([offset=-5]C){H}
\pstCircleOA{A}{B}
\pstArcOAB[linewidth=2pt]{A}{G}{B}
\pstArcnOAB[linestyle=dashed,linecolor=blue,arrowscale=2,arrows=->]{A}
{E}{C}
\pspolygon[linecolor=blue,linewidth=1.2pt](A)(C)(H)(G)%parallelogramm
in blau
}%
\end{pspicture*}\end{frame}\end{document}
More information about the PSTricks
mailing list