我正在建立我家族的家譜樹(所有家族,甚至是遠親)。我想加上我的曾曾祖母,我曾祖母的分支。我曾祖父那裡的分支沒有問題。這是一個部分(分支祖母),舉例來說:
\documentclass[a4,10pt,landscape]{article}
\usepackage{incgraph}
\usepackage[all]{genealogytree}
\newcommand{\f}{female}
\newcommand{\m}{male}
\gtrset{database format=short,edges={anchoring=center},language=spanish, level 0/.style={level distance=5mm}, level -1/.style={level distance=10mm},level -2/.style={level distance=15mm,level size=20mm, node size = 20mm},timeflow=down}
\gtrset{comment code={(\gtrDBcomment)}}
\begin{document}
\begin{inctext}
\begin{genealogypicture}[processing=database,database format=full,template=signpost,node size=3cm,level size=3.2cm,list separators hang,place text={\newline}{},box={fit basedim=9pt,boxsep=2pt,segmentation style={solid},halign=left,before upper=\parskip1pt,\gtrDBsex}]
sandclock
{
child{
g[\m]{
my great-great-grandfatherX
}
p[\f]{
my great-great-grandmotherX
}
child{
g[\m]{
my great-grandfatherX
}
p[\f,processing=database]{
name={my great-grandmotherY},
comment={\textbf{Here!} How add her mother or father?},
}
child{
g[\f]{my grandmotherX}
p[\m]{my grandfatherZ}
c[\f]{my aunt}
c[\m]{my other uncle}
child{
g[\f]{my other aunt}
p[\m]{husband of my aunt}
c[\f]{my cousin}
}
child{
g[\m]{my father}
p[\f]{my mother}
c[\f]{my sister}
c[\m]{my brother}
c[\m]{me}
}
}
}
}
}
\end{genealogypicture}
\end{inctext}
\end{document}
我嘗試在其中使用parent:
p[\f,processing=database]{
name={my great-grandmotherY},
comment={\textbf{Here!} How add her mother or father?},
parent{
g[\f]{my great-great-grandmotherY}
},
}
不起作用,但至少沒有顯示錯誤。它與高斯家譜樹的家譜樹手冊中的範例幾乎相似(第 39 至 42 頁),但我無法正常工作。
多謝!達裡奧