summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/4-5-16.ltx
blob: 89874c185bbb5686b6abc47749a45d621be60c9f (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
27
28
29
30
\documentclass{ppex}
\nonstopmode
\usepackage {pstcol,pst-char,ifthen}
\pagestyle{empty}

\begin{document}
\ResetPreambleCommands
\ReadyForTheFray
\usepackage {pstcol,pst-char,ifthen}
\DeclareFixedFont{\bigsf}{T1}{phv}{b}{n}{1.75cm}
\DeclareFixedFont{\tinyrm}{T1}{ptm}{m}{n}{2mm}
\newcounter{myN}
\setcounter{myN}{300}
\begin{pspicture}(0,0)(11,1.4)
\pscharclip[linecolor=red,fillstyle=solid,
            fillcolor=yellow]
           {\rput[bl](0,0){\bigsf CHOCOLATE}}
\rput[t]{90}(0,0)
  {\begin{minipage}{4cm}
      \offinterlineskip
      \raggedright\tinyrm\color{black}%
      \whiledo{\value{myN}>0}%
        {%
         \addtocounter{myN}{-1}
          nuts and raisins
        }%
   \end{minipage}}%
\endpscharclip
\end{pspicture}
\end{document}