summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/1-4-11.pic
blob: 036a0d50bf23bddbc0ade5bdf6ea20599d8151f2 (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

\pagestyle{empty}
\setlength\textwidth{213.0pt}
\begin{document}
\ResetPreambleCommands
\ReadyForTheFray

.PS
define rect X box width 0.5i height 0.3i X
A: rect "Class" ; move down right from A.se
B: rect "Object"; move down left
C: rect "Person"; move down left
D: rect "Male"  ; move down right from C.c
E: rect "Caller"; move down left
G: rect "Lesley"; move down left from D.c
F: rect "John"
line from 2/3 <A.sw,A.se> to B.n
line from 1/3 <A.sw,A.se>    \
       to 1/3 <C.nw,C.ne>
line dashed from B.sw        \
            to 2/3 <C.nw,C.ne>
line dashed from C.sw to D.ne
line dashed from C.se to E.nw
line from D.sw to F.n
line from E.sw to G.n
.PE
\usebox\graph
\end{document}