summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/A-2-1.pltx
blob: e455613cb986a757da8caed005b1eb38c09ca64b (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
%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example A-2-1 on page 801.
%% 
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss 
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{207.83385pt}

\StartShownPreambleCommands
\usepackage{pst-plot,pst-text}
\usepackage{pst-pdf}
\StopShownPreambleCommands
\begin{document}
This is a \textbf{PDF}--document!

\begin{pspicture}(-0.25,-2.25)(6.25,2.5)
  \pstextpath[linestyle=none]%
    {\psplot[linewidth=1pt,%
      linestyle=dotted,%
      plotpoints=300,%
      xunit=0.015,%
      yunit=2]{0}{400}{x sin}}
  {\large The \LaTeX\ Graphics
  Companion, $2^{nd}$ Edition}
\end{pspicture}%
\end{document}