summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/voss/bsp44.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pstricks/voss/bsp44.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/voss/bsp44.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/voss/bsp44.tex b/Master/texmf-dist/doc/generic/pstricks/voss/bsp44.tex
new file mode 100644
index 00000000000..b4457aa1353
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pstricks/voss/bsp44.tex
@@ -0,0 +1,26 @@
+\documentclass{article}
+\usepackage{pstricks}
+
+\def\defineTColor#1#2{% transparente "Farben"
+ \newpsstyle{#1}{%
+ fillstyle=vlines,hatchcolor=#2,%
+ hatchwidth=0.1\pslinewidth,hatchsep=1\pslinewidth%
+}}
+
+\pagestyle{empty}
+\parindent=0pt
+
+\begin{document}
+
+\begin{center}
+\defineTColor{tRot}{red}
+\defineTColor{tCyan}{cyan}
+
+\begin{pspicture}(0,-1)(5,6)
+\rput(2.5,2.5){\psframebox[doubleline=true,framearc=0.3]{\Huge\textsf{ PostScript }}}
+\rput{-30}(1,1){\psframe[style=tRot](2.5,4)}
+\rput{30}(2.5,1){\psframe[style=tCyan](2.5,4)}
+\end{pspicture}
+\end{center}
+
+\end{document}