summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/voss/bsp44.tex
blob: b4457aa1353c560b854583ba5ef2aee9e64baef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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}