我正在建立我家谱(包括所有远房亲戚)。我想添加我的曾曾祖母,她是我曾祖母的分支。我曾祖父的分支没有问题。这是一部分(祖母分支),举例来说:
\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}
我尝试在其中使用父级:
p[\f,processing=database]{
name={my great-grandmotherY},
comment={\textbf{Here!} How add her mother or father?},
parent{
g[\f]{my great-great-grandmotherY}
},
}
不起作用,但至少没有显示错误。它几乎与 genealogytree 手册中 Gauss 家谱树的示例(第 39 至 42 页)相似,但我无法正常工作。
非常感谢!Darío