diff --git a/compendium.pdf b/compendium.pdf index 32401e0..aa7e0c9 100644 Binary files a/compendium.pdf and b/compendium.pdf differ diff --git a/compendium.tex b/compendium.tex index 059263f..3b46f99 100644 --- a/compendium.tex +++ b/compendium.tex @@ -2,6 +2,9 @@ \input{jjpackages.tex} +%\usepackage{tikz} +%\usetikzlibrary{graphs, graphdrawing} +%\usegdlibrary{phylogenetics} \usepackage{forest} \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/.default=black, } -\definecolor{treeedgeclr}{RGB}{80, 80, 80} +\definecolor{treecolor-edge}{RGB}{120, 120, 120} +\definecolor{treecolor-event}{RGB}{0, 0, 0} \usepackage{pdfpages} @@ -40,11 +44,23 @@ \section[Systematik der Pflanzen]{Spezieller Teil: Systematik der Pflanzen} \subsection{Prokaryota, Eukaryota \& Archea} -\begin{figure}[!ht] +\begin{figure}[th!] \centering \input{trees/basetree.tex} + \caption{Stammbaum der drei grundlegenden Reiche des Lebens} + \label{fig:basetree} \end{figure} +\subsection{Algen} + +\begin{figure}[th] + \centering + \input{trees/algae.tex} + \caption{} + \label{fig:algaetree} +\end{figure} + + diff --git a/trees/algae.tex b/trees/algae.tex new file mode 100644 index 0000000..1e64538 --- /dev/null +++ b/trees/algae.tex @@ -0,0 +1,33 @@ +% phyloforest-template.tex +% Template for a phylogenetic tree using forest + +\begin{forest} + % + 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}{} + }, + } % + [[[, label=Bacteria, dot=black + [Cyanobacteria] + [some other] + ]] + [[, label=Eucaryota, dot=black + [, label=Primäre Endocytose, bar=treecolor-event[ + [Chlorophyta] + [Rhodophyta] + ]] + ]]] +\end{forest} diff --git a/trees/basetree.tex b/trees/basetree.tex index c24762f..ea6f724 100644 --- a/trees/basetree.tex +++ b/trees/basetree.tex @@ -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}{} }, } % - [, 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}