forest working
This commit is contained in:
1 parent
dac8ecad51
commit
e8de409b13
4 files changed
+58
-15
No files matched your search
@@ -0,0 +1,33 @@
|
||||
% 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}
|
||||
+7
-13
@@ -12,24 +12,18 @@
|
||||
child anchor=west,
|
||||
anchor=west,
|
||||
edge path={
|
||||
\noexpand\path[draw, treeedgeclr, line width=1.2pt, \forestoption{edge}]
|
||||
\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=Animalia, dot
|
||||
[Ctenophora]
|
||||
[, label=NOTE, bar=red
|
||||
[\color{green}{Porifera}]
|
||||
[, label=\color{green}{Parahoxozoa}, dot=red
|
||||
[Placozoa]
|
||||
[, label=Planulozoa, dot=red
|
||||
[Bilateria]
|
||||
[Cnidaria]
|
||||
]
|
||||
]
|
||||
[[
|
||||
[Bacteria]
|
||||
[
|
||||
[Archea]
|
||||
[,label=Eucaryogenesis, bar=treecolor-event [Eucaryota]]
|
||||
]
|
||||
]
|
||||
]]
|
||||
\end{forest}
|
||||
Reference in new issue
Block a user