1

How can I use a curly brace (in black) as the standard connection style in genealogytree?

That means: How to change the default (which is these green lines).

enter image description here

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\usepackage[all]{genealogytree}
\begin{document}
\begin{tikzpicture}
\genealogytree[box={colback=white}]{
parent{
g{first child}
c{second child}
c{third child}
p{father}
%p{mother}
}
}
\end{tikzpicture}
\end{document}

Hint 1: I am not a family tree expert, but I guess in terms of this manual example (p. 211) the style has to change somehow like that:

enter image description here

Hint 2: I want to create sth. like that:

enter image description here

2

Does this satisfy your requirement --

enter image description here

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tikz}

\usetikzlibrary{decorations.pathreplacing}

\usepackage[all]{genealogytree}
\begin{document}
\begin{tikzpicture}
\genealogytree[edges=none, box={colback=white}]{
parent{
g[id=child1]{first child}
c[id=child2]{second child}
c[id=child3]{third child}
p[id=father]{father}
%p{mother}
}
}
\draw [decorate,decoration={brace,amplitude=6pt,raise=3pt},
line width=4pt,yshift=0pt,green] (child1.north west) -- (child3.north east);
\end{tikzpicture}
\end{document}

Making custom edges is given at page 211 of the genealogy manual however modifying it for braces someone has to do it I am still a novice

enter image description here

| improve this answer | |
  • This is a solution as annotation, thx for that. Maybe there is a solution with edges, custom too, which change the default style. – cis Aug 3 at 14:14
  • please see edit in the answer above – js bibra Aug 3 at 14:19
  • Yes, thx again, I have that on my own monitor too at this moment: /gtr/edge/custom={hdowni}{hupi}{hlefti}{hrighti}, p. 211 in the genealogytree manual. ;) – cis Aug 3 at 14:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.