Using the wonderful package genealogytree, I made a tree. The problem is that it is becoming so large that I get the error:

! Arithmetic overflow. I can't evaluate this expression, since the result is out of range.

I am not quite sure if this is related to pgfplots (see 2.6.2 in pgfplots documentation) or tikz (it does not seem that genealogytree relies on pgfplots).

Anyway, below I propose a MWE to reproduce the error. Instead of including hundreds of nodes, I use an very large value for node size. The question is, is it possible to get rid of this error (without reducing node size of course, that is already small in the complete tree)?



\begin{genealogypicture}[processing=database,node size=70cm]
  • Try [node size=60cm,processing=tcbox] – user31729 Jan 8 '18 at 21:18
  • @ChristianHupfer It works for that simplistic example, but unfortunately not if I add a field, such as name or birth (which is essential for large trees). I'll edit the MWE . – anderstood Jan 8 '18 at 21:56
  • Which expression is 'this expression'? – cfr Jan 9 '18 at 2:27
  • @cfr For the above example, ! Arithmetic overflow. <to be read again> } l.22 \end{genealogypicture} I can't evaluate this expression, – anderstood Jan 9 '18 at 3:16

This is the answer of the package author, Thomas F. Strum, from github:

[...] take a look at the reduced templates introduced with version v1.21 (2017/09/15), e.g. template=database pole reduced (see Page 256ff of the documentation). You could use such a template or look at its source code to get ideas on how to brew your own style.

This solved my issue.

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.