diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/voss/bsp25.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pstricks/voss/bsp25.tex | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/voss/bsp25.tex b/Master/texmf-dist/doc/generic/pstricks/voss/bsp25.tex new file mode 100644 index 00000000000..5eb043c0ba1 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pstricks/voss/bsp25.tex @@ -0,0 +1,27 @@ +\documentclass[a4paper,12pt]{article} +\usepackage{pstricks} +\usepackage{pst-node} +\SpecialCoor +\begin{document} + +\begin{center} +\psset{unit=2} +\begin{pspicture}(5,4) + \cnode[fillstyle=solid,fillcolor=lightgray](1,1){1cm}{A} + \cnode[fillstyle=solid,fillcolor=lightgray](4,1){1cm}{B} + \pscustom[linecolor=blue,linewidth=0.1pt]{% + \translate(1,1) + \psline(0;60)(3;60) + } + \pscustom[linecolor=blue,linewidth=0.1pt]{% + \translate(4,1) + \psline(0;100)(3;100) + } + \psset{linewidth=1.5pt} + \nccurve[angleA=60,angleB=100,linecolor=red]{A}{B} + \pccurve[angleA=60,angleB=100,linecolor=cyan](A)(B) + \psgrid[subgriddiv=0,griddots=10,gridlabels=7pt] +\end{pspicture} +\end{center} + +\end{document} |