summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/examples/denis1.tex
blob: 2818fcb74f08347f576e301948a81a22388e034f (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
31
32
33
34
35
36
37
38
39
40
41
%% BEGIN denis1.tex
%  PSTricks sample that combines
%   \pscharpath, \pstextpath, and gradient fillstyle.

% Run with Plain TeX.

% Takes a long time to print.

\hsize 9in
\vsize 6.5in
\special{landscape}  % works with Rokicki's dvips.

\input pstricks
\input pst-text
\input pst-grad

% phvb should be name of Helvetica-Bold tfm or vf file:
\font\bighelv=phvb at 5in
\font\smallhelv=ptmr at 8pt

\newcount\mycount
\parindent 0pt

\null
\vfill

\pstextpath(0,-8pt)%
  {\pscharpath*[linestyle=none,fillstyle=gradient,
    gradangle=45,gradmidpoint=.5]{\bighelv D G}}%
  {\smallhelv
    \mycount=70
    \loop
    \advance\mycount -1
    \ifnum\mycount>0
      Denis Girou
    \repeat}

\vfill

\bye
%% END denis1.tex