summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples-en/33-04-6.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples-en/33-04-6.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/pstricks-examples-en/33-04-6.ltx44
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples-en/33-04-6.ltx b/Master/texmf-dist/doc/latex/pstricks-examples-en/33-04-6.ltx
new file mode 100644
index 00000000000..1d5156f0062
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pstricks-examples-en/33-04-6.ltx
@@ -0,0 +1,44 @@
+%%
+%% A DANTE-Edition example
+%%
+%% Example 33-04-6 on page 730.
+%%
+%% 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{201.70511pt}
+
+\usepackage{pst-pdgr}
+
+\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}