1
0
botanik-compendium/trees/basetree.tex
2024-06-21 09:19:32 +02:00

36 lines
790 B
TeX

% phyloforest-template.tex
% Template for a phylogenetic tree using forest
\begin{forest}
% <tree layout>
where n children=0{tier=word}{},
for tree = {
s sep=-0.1em,
grow = 0, % 0 deg = right
reversed,
align=left,
parent anchor=east,
child anchor=west,
anchor=west,
edge path={
\noexpand\path[draw, treeedgeclr, line width=1.2pt, \forestoption{edge}]
(!u.parent anchor) |- (.child anchor)\forestoption{edge label};
},
before typesetting nodes={
if content={}{shape=coordinate}{}
},
} % </tree layout>
[, label=Animalia, dot
[Ctenophora]
[, label=NOTE, bar=red
[\color{green}{Porifera}]
[, label=\color{green}{Parahoxozoa}, dot=red
[Placozoa]
[, label=Planulozoa, dot=red
[Bilateria]
[Cnidaria]
]
]
]
]
\end{forest}