Graphics, Figures & Tablesgenealogytree

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
ciccio
Posts: 2
Joined: Thu Dec 02, 2021 5:29 pm

genealogytree

Post by ciccio »

I need to add the parents in a "child" tree. In the following example I need to add the parents of the "F" node and a second wife/husband (union) of the "F" node.

Code: Select all

Code, edit and compile here:
\documentclass[english]{article}
\usepackage[all]{genealogytree}
\begin{document}
\begin{genealogypicture}[template=signpost]
child{
g{A}
p{B}
child{
g{C}
p{D}
child{
g{E}
p{F}
child{
g{G}
p{H}
c{I}
}
}
}
}
\end{genealogypicture}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
A.png
A.png (11.18 KiB) Viewed 1711 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

genealogytree

Post by rais »

IIUIC, using parent and child constructs requires a sandclock construct.
In this case, the `proband'[1] would be your `G' node...why not go all the way to start with `I' and just use parent constructs?

Code: Select all

Code, edit and compile here:
\documentclass[english]{article}
\usepackage[all]{genealogytree}
\begin{document}
\begin{genealogypicture}[template=signpost]
parent{
g{I}
parent{% of I
g{G}
parent{% of G
g{E}
parent{% of E
g{C}
parent{% of C
g{A}
}
parent{% of C
g{B}
}
}
parent{% of E
g{D}
}
}
parent{% of G
g{F}
parent{% of F
g{P1}
}
parent{% of F
g{P2}
}
}
}
parent{% of I
g{H}
}
}
\end{genealogypicture}
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[1] `proband' is used in genealogytree's initial sandclock examples, see `Creation of a Basic Sand Clock Diagram'; it's basically the node to ascend and descent from.

KR
Rainer
ciccio
Posts: 2
Joined: Thu Dec 02, 2021 5:29 pm

genealogytree

Post by ciccio »

thanks but I had already thought about this solution. I would also like to have a union with F
Post Reply