26 lines
567 B
TeX
26 lines
567 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, ptclredge, line width=1.2pt, \forestoption{edge}]
|
|
(!u.parent anchor) |- (.child anchor)\forestoption{edge label};
|
|
},
|
|
before typesetting nodes={
|
|
if content={}{shape=coordinate}{}
|
|
},
|
|
} % </tree layout>
|
|
|
|
% TREE CONTENT
|
|
|
|
\end{forest} |