-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\prevdepth error in horizontal mode #31
Comments
Well, that is difficult to say. Page 208 of the documention shows an example which compiles without errors. |
Of course, I've created one:
Without the |
Thank your for the MWE. I can reproduce and confirm the issue now. I also found the cause for the problem which is specific for the template For the next version, I will decouple this by giving the family label a more or less empty event list format. I hope this will not break some existing fancy user code, but I think that is unlikely. Until then, you should add an option like the following:
or
This clears the event list format for the labels and the issue should be gone. With the next version, which could take some time, this additional setting will not be needed anymore, but it will not hurt, if you keep it. The following should compile without problems: \documentclass[border=10pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[all]{genealogytree}
\begin{document}
\begin{genealogypicture}[%
template=database sideways,
timeflow=right,
parent distance=8mm,
label options={node font=\tiny,anchor=east,xshift=-4mm},
label database options={list separators={}{}{}{}},% <--- add this to avoid the problem
]
child[id=SmitBowd1742,
family database={marriage={1742-03-02}{}},
%family label={\gtrsymMarried~\gtrPrintDate{marriage}},
]{
g[id=SmitChar1722]{male, name = {\pref{Charles} Smith}}
p[id=BowdJane1724]{female, name = {\pref{Jane} Bowden}}
c[id=BowdAbra1740]{male, name = {\pref{Abraham} Bowden}}
}
\end{genealogypicture}
\end{document}
|
Thank you for helping out and many thanks for this excellent software package. |
Resolved with version |
Hi, for the template
database sideways
I got this LaTex error:when I use the family database option
parent[family database={marriage={...}{...}}]
but with explicit node label, e.g.
parent[family database={marriage={...}{...}}, family label={\gtrsymMarried~\textbf{\gtrPrintDate{marriage} \gtrPrintPlace{marriage}}}]
all went fine.
Could this be an issue in the genealogytree package?
The text was updated successfully, but these errors were encountered: