1
0
2024-06-21 09:59:02 +02:00

34 lines
750 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>
[[[, label=Bacteria, dot=black
[Cyanobacteria]
[some other]
]]
[[, label=Eucaryota, dot=black
[, label=Primäre Endocytose, bar=treecolor-event[
[Chlorophyta]
[Rhodophyta]
]]
]]]
\end{forest}