summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples-en/36-00-8.ltx
blob: bac4d27ea6327fc68da0b50f461248e3f94289f9 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
%% 
%%  A DANTE-Edition example
%% 
%%  Example 36-00-8 on page 772.
%% 
%%  Copyright (C) 2011 Herbert Voss
%% 
%%  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.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{375.57637pt}
\setlength\parindent{0pt}

\usepackage{pstricks,shapepar}
\newsavebox\PBox

\begin{document}
\savebox\PBox{%
\begin{minipage}{10cm}
\shapepar{\nutshape}
A great many people have never heard the scream of an eagle. The only
voice they connect with the kind of the air is a ludicrously feeble
squawk, dim with distance, but in his great moments the eagle has a
war-cry like that of the hawk, but harsher, hoarser, tenfold in volume.
This sound cut into the night in the gulch, and Vic Gregg started and
glanced about for echoes made the sound stand at his side; then he
looked up, and saw two eagles fighting in the light of the morning. He
knew what it meant--the beginning of the mating season, and these two
battling for a prize. They darted away. They flashed together with
reaching talons and gaping beaks, and dropped in a tumult of wings,
then soared and clashed once more until one of them folded his wings and
dropped bulletlike out of the morning into the night. Close over Gregg's
head, the wings flirted out--ten feet from tip to tip--beat down with
a great washing sound, and the bird shot across the valley in a level
flight. The conqueror screamed a long insult down the hollow. For a
while he balanced, craning his bald head as if he sought applause, then,
without visible movement of his wings, sailed away over the peaks. A
feather fluttered slowly down past Vic Gregg.
\end{minipage}}
\psset{unit=0.6}
\begin{pspicture}(-6,-5.5)(6,5.5)
  \rput(0.6,0){\psscalebox{0.6}{\usebox\PBox}}
  \pscustom[fillstyle=solid,fillcolor=blue]{%
    \psarc(0,1.1){1.1}{270}{450}
    \psarc(0,0){2.2}{90}{270}
    \psarcn(0,-1.1){1.1}{270}{450}
  }
  \pscircle*[linecolor=blue](0,-1.1){0.3}
  \pscircle[fillstyle=solid](0,1.1){0.3}
%  \psarc(0,0){2.2}{270}{450}
\end{pspicture}
\end{document}