T-F-S / genealogytree

pedigree and genealogy tree diagrams
LaTeX Project Public License v1.3c
47 stars 7 forks source link

"Arithmetic overflow" when dealing with a large tree #15

Closed anderstood closed 6 years ago

anderstood commented 6 years ago

When making a large tree, I faced the "Arithmetic overflow" error. I wrote a question on tex.se with a MWE. It does not concern a bug in genealogytree, but it is still limitation. I am wondering if you have any ideas on how to overcome it.

anderstood commented 6 years ago

Oh, I just found this issue has already been raised: https://github.com/T-F-S/genealogytree/issues/8. Sorry I had not seen it before. If you could however give a few indications on how to scale down the fonts, that would be useful, since they adjust automatically.

T-F-S commented 6 years ago

You need to have scalable fonts, e.g. \usepackage{lmodern} to replace the Computer Modern fonts by similar looking scalable ones.

Also, 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. The general idea is to create miniature nodes to overcome the global size limitation...

jrtaylor-3 commented 6 years ago

btw - the reduced format solved my big tree problem that I reported in #8.

anderstood commented 6 years ago

Great! Using template=database pole reduced solved my issue too.