summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/6-7-24.ltx
blob: 5987b9ab18680bd8d1f8912f3200596e63dee48f (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
%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 6-7-24 on page 432.
%% 
%%  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-pdgr}
\StopShownPreambleCommands
\begin{document}
\begin{pspicture}(6,6)
 \psset{belowtextrp=t,armB=1}
 \rput(2.5,5.5){\pstPerson[male,deceased,belowtext=A:1]{A:1}}
 \rput(3.5,5.5){\pstPerson[female,deceased,belowtext=A:2]{A:2}}
 \pstRelationship[descentnode=A:1_2]{A:1}{A:2}
 \rput(1,3.5){\pstPerson[female,affected,belowtext=B:1]{B:1}}
 \pstDescent{A:1_2}{B:1}
 \rput(2,3.5){\pstPerson[male,belowtext=B:2]{B:2}}
 \pstRelationship[descentnode=B:1_2]{B:1}{B:2}
 \rput(3.5,3.5){\pstPerson[male, affected, belowtext=B:3]{B:3}}
 \pstDescent{A:1_2}{B:3}
 \rput(4.5,3.5){\pstPerson[female, belowtext=B:4]{B:4}}
 \pstRelationship[descentnode=B:3_4]{B:3}{B:4}
 \rput(5.5,3.5){\pstPerson[female,affected, deceased,proband,
                           belowtext=B:5]{B:5}}
 \pstDescent{A:1_2}{B:5}
 \rput(0.5,1.5){\pstPerson[female,belowtext=C:1]{C:1}}
 \pstDescent{B:1_2}{C:1}
 \rput(1.5,1.5){\pstPerson[female,belowtext=C:2]{C:2}}
 \pstDescent{B:1_2}{C:2}
 \rput(2.5,1.5){\pstPerson[female, deceased,
                     belowtext=\parbox{2cm}{\centering C:3\\4/52}]{C:3}}
 \pstDescent{B:1_2}{C:3}
 \rput(3.5,1.5){\pstPerson[female, affected,belowtext=C:4]{C:4}}
 \pstDescent{B:3_4}{C:4}
 \rput(4.5,1.5){\pstPerson[male, insidetext=?,belowtext=C:5]{C:5}}
 \pstDescent{B:3_4}{C:5}
\end{pspicture}
\end{document}