Genealogy LaTeX class
This is a LaTeX class to easily create genealogy trees
Commands
\maleto create a male leaf\femaleto create a female leaf\marriedto create a link for marriage\marriedbyto create a link for dated marriage\divorcedto create a link for divorce\divorcedto create a link for dated divorce\childofunionto create links between parents and child\resetoffsetto start a new generation line\shiftoffsetto create space between leaves and environment subtree to easy large tree design- environment
subtreeeases creation of large tree with balanced ramifications \malecolorto change color box for male element\femalecolorto change color box for female element
Examples
\documentclass{genealogy}
\usepackage{textcomp}
\usepackage{verbatim}
\begin{comment}
:Title: Famille Bordenave de Lalonquette
:Tags: Styles; Trees; Charts
:Author: Laurent Mazet
:Slug: family-tree
Arbre généalogique de la famille Bordenave de Lalonquette
\end{comment}
%\newcommand{\per}[4]{
% \begin{tabular}{l@{ }r}
%#1\\#3&\ifx\undefined#4\else#4$#$\fi
% \end{tabular}
%}
\newcommand{\per}[4]{
\begin{tabular}{l@{ }r}
#1\\\textborn#3&\ifx\undefined#4\else\textdied#4\fi
\end{tabular}
}
\begin{document}
% line 1
%\resetoffset
\male{PB1}{\per{Pierre}{Bordenave}{-}{1815}}
\male{MB1}{\per{Mathieu}{Bordenave}{1743}{1816}}
\female{AL1}{\per{Anne}{Lamothe}{-}{1819}}
\married{MB1}{AL1}
\shiftoffset{1}
\male{xL1}{\per{?}{Laranson}{-}{-}}
\female{JD1}{\per{Jeanne}{Dufau (Labarrère)}{-}{-}}
\married{xL1}{JD1}
% line 2
\resetoffset
\male{JC1}{\per{Jean}{Casouret}{-}{1839}}
\female{JB1}{\per{Jeanne}{Bordenave}{1778}{1840}}
\childofunion{MB1}{AL1}{JB1}
\married{JB1}{JC1}
\shiftoffset{2}
\male{JB2}{\per{Jean}{Bordenave}{1775}{1840}}
\childofunion{MB1}{AL1}{JB2}
\female{ML1}{\per{Marie}{Laranson}{1786}{1827}}
\childofunion{xL1}{JD1}{ML1}
\married{JB2}{ML1}
% line 3
\resetoffset
\male{xT1}{\per{}{Touyarot}{-}{1848}}
\female{AB1}{\per{Anne}{Bordenave}{1814}{1849}}
\childofunion{ML1}{JB2}{AB1}
\married{xT1}{AB1}
\male{JB3}{\per{Jean}{Bordenave}{1810}{1810}}
\childofunion{ML1}{JB2}{JB3}
\male{JB4}{\per{Jean}{Bordenave}{1815}{1815}}
\childofunion{ML1}{JB2}{JB4}
\male{PB1}{\per{Pierre}{Bordenave}{1812}{1812}}
\childofunion{ML1}{JB2}{PB1}
\male{MB2}{\per{Magdalène}{Bordenave}{1814}{1814}}
\childofunion{ML1}{JB2}{MB2}
\male{PB2}{\per{Pierre}{Bordenave}{1807}{1892}}
\childofunion{ML1}{JB2}{PB2}
\end{document}
Download
Changelogs
Genealogy 0.4 (2019/04/19)
- add new commands to add date on weeding and divorce
- add new commands to change gender colors
Genealogy 0.3 (2014/09/27)
- renew subtree environment
Genealogy 0.2 (2014/09/22)
- add subtree environment
Genealogy 0.1 (2014/09/19)
- adapt to LaTeX class
- extract macros from source
