%% %% 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}