% compendium.tex

\input{jjpackages.tex}

\usepackage{pmboxdraw} % provides angled lines for tab:phylolevels

\definecolor{explainboxframe}{RGB}{140, 185, 163}
\definecolor{explainboxbg}{RGB}{170, 255,125}
\usepackage[framemethod=default]{mdframed}
\mdfsetup{skipabove = \topskip, skipbelow = \topskip}
% modified after:
% https://ctan.ebinger.cc/tex-archive/macros/latex/contrib/mdframed/mdframed-example-default.pdf
\newenvironment{explainbox}[2][\textwidth]{%
	\mdfsetup{
		frametitle={%
			\tikz[baseline = (current bounding box.east), outer sep = 0pt]
			\node[anchor=east, rectangle, fill = explainboxframe!90]
			{\strut #2};},
		frametitlefont = \sffamily,
		innertopmargin = 7pt, linecolor = explainboxframe!90,%
		linewidth = 2pt, topline = true,
		frametitleaboveskip = \dimexpr -\ht\strutbox\relax}
	\begin{mdframed}[userdefinedwidth = #1]\relax%
	}{
	\end{mdframed}
}

%opening
\title{Botanik \& Systematik der Pflanzen}
\author{Jeff Jonczyk}

\setcounter{secnumdepth}{2}

\begin{document}


% ### TITLE ###
\maketitle

\newgeometry{paper=a4paper, inner=2.5cm, outer=2.5cm, top=2.5cm, bottom=2.5cm}


% ### PREFACE ###
%\pagenumbering{none}
\section*{Einleitung}


% ### TOC ###
\newpage
\setcounter{page}{1}
\pagenumbering{roman}

\tableofcontents


% ### CONTENT ###
\newpage
\setcounter{page}{1}
\pagenumbering{arabic}


\part[Spezieller Teil: Systematik der Pflanzen]{Systematik der Pflanzen}

\section{Prokaryota, Eukaryota \& Archea}


\section{Algen}
	\input{algen.tex}


\section{Pilze}

\section{Embryophyten: Moose und Kormopyhten}
	\input{embryophten.tex}

\section{Kormophyten: Farnpflanzen und Spermatophyten}
	\input{kormophyten.tex}

\section{Spermatophyten: Gymnospermen und Angiospermen}

\section{Angiospermen: basale Dikotyle, Monokotyle und Eudikotyledonen}
	\input{explainboxes/exbx_fruchtformen.tex}

\section{Dikotyledonen und Eudikotyledonen}

\section{Monokotyledonen}

\pagebreak
\part[Allgemeiner Teil: Phylogenetik]{Allgemeine Phylogenetik}
	\input{allgphylo.tex}


\end{document}
