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

30 lines
654 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, treecolor-edge, line width=1.2pt, \forestoption{edge}]
(!u.parent anchor) |- (.child anchor)\forestoption{edge label};
},
before typesetting nodes={
if content={}{shape=coordinate}{}
},
} % </tree layout>
[[
[Bacteria]
[
[Archea]
[,label=Eucaryogenesis, bar=treecolor-event [Eucaryota]]
]
]]
\end{forest}