forest working
This commit is contained in:
parent
dac8ecad51
commit
e8de409b13
BIN
compendium.pdf
BIN
compendium.pdf
Binary file not shown.
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
\input{jjpackages.tex}
|
\input{jjpackages.tex}
|
||||||
|
|
||||||
|
%\usepackage{tikz}
|
||||||
|
%\usetikzlibrary{graphs, graphdrawing}
|
||||||
|
%\usegdlibrary{phylogenetics}
|
||||||
|
|
||||||
\usepackage{forest}
|
\usepackage{forest}
|
||||||
\tikzset{
|
\tikzset{
|
||||||
@ -15,7 +18,8 @@
|
|||||||
bar/.style={tikz+={\draw[color=#1,line width=2pt] let \p1 = (!u.parent anchor), \p2 = (.child anchor) in ($(\x1, \y2 - 0.5em)!0.5!(\x2, \y2)$) -- ($(\x1, \y2 + 0.5em)!0.5!(\x2, \y2)$);}},
|
bar/.style={tikz+={\draw[color=#1,line width=2pt] let \p1 = (!u.parent anchor), \p2 = (.child anchor) in ($(\x1, \y2 - 0.5em)!0.5!(\x2, \y2)$) -- ($(\x1, \y2 + 0.5em)!0.5!(\x2, \y2)$);}},
|
||||||
bar/.default=black,
|
bar/.default=black,
|
||||||
}
|
}
|
||||||
\definecolor{treeedgeclr}{RGB}{80, 80, 80}
|
\definecolor{treecolor-edge}{RGB}{120, 120, 120}
|
||||||
|
\definecolor{treecolor-event}{RGB}{0, 0, 0}
|
||||||
|
|
||||||
|
|
||||||
\usepackage{pdfpages}
|
\usepackage{pdfpages}
|
||||||
@ -40,11 +44,23 @@
|
|||||||
\section[Systematik der Pflanzen]{Spezieller Teil: Systematik der Pflanzen}
|
\section[Systematik der Pflanzen]{Spezieller Teil: Systematik der Pflanzen}
|
||||||
\subsection{Prokaryota, Eukaryota \& Archea}
|
\subsection{Prokaryota, Eukaryota \& Archea}
|
||||||
|
|
||||||
\begin{figure}[!ht]
|
\begin{figure}[th!]
|
||||||
\centering
|
\centering
|
||||||
\input{trees/basetree.tex}
|
\input{trees/basetree.tex}
|
||||||
|
\caption{Stammbaum der drei grundlegenden Reiche des Lebens}
|
||||||
|
\label{fig:basetree}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
|
\subsection{Algen}
|
||||||
|
|
||||||
|
\begin{figure}[th]
|
||||||
|
\centering
|
||||||
|
\input{trees/algae.tex}
|
||||||
|
\caption{}
|
||||||
|
\label{fig:algaetree}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
33
trees/algae.tex
Normal file
33
trees/algae.tex
Normal file
@ -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}
|
||||||
@ -12,24 +12,18 @@
|
|||||||
child anchor=west,
|
child anchor=west,
|
||||||
anchor=west,
|
anchor=west,
|
||||||
edge path={
|
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};
|
(!u.parent anchor) |- (.child anchor)\forestoption{edge label};
|
||||||
},
|
},
|
||||||
before typesetting nodes={
|
before typesetting nodes={
|
||||||
if content={}{shape=coordinate}{}
|
if content={}{shape=coordinate}{}
|
||||||
},
|
},
|
||||||
} % </tree layout>
|
} % </tree layout>
|
||||||
[, label=Animalia, dot
|
[[
|
||||||
[Ctenophora]
|
[Bacteria]
|
||||||
[, label=NOTE, bar=red
|
[
|
||||||
[\color{green}{Porifera}]
|
[Archea]
|
||||||
[, label=\color{green}{Parahoxozoa}, dot=red
|
[,label=Eucaryogenesis, bar=treecolor-event [Eucaryota]]
|
||||||
[Placozoa]
|
|
||||||
[, label=Planulozoa, dot=red
|
|
||||||
[Bilateria]
|
|
||||||
[Cnidaria]
|
|
||||||
]
|
|
||||||
]
|
|
||||||
]
|
]
|
||||||
]
|
]]
|
||||||
\end{forest}
|
\end{forest}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user