diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung/15-04-46.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/einfuehrung/15-04-46.ltx | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung/15-04-46.ltx b/Master/texmf-dist/doc/latex/einfuehrung/15-04-46.ltx new file mode 100644 index 00000000000..73af0722284 --- /dev/null +++ b/Master/texmf-dist/doc/latex/einfuehrung/15-04-46.ltx @@ -0,0 +1,36 @@ +%% +%% Ein Beispiel der DANTE-Edition +%% +%% Beispiel 15-04-46 auf Seite 821. +%% +%% Copyright (C) 2012 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +%% +%% ==== +% Show page(s) 1 +%% +\documentclass[]{exaarticle} +\pagestyle{empty} +\setlength\textwidth{352.81416pt} +\usepackage[T1]{fontenc} + +\usepackage{tikz} +\usetikzlibrary{trees} + +\begin{document} +\begin{tikzpicture}[edge from parent fork down, level distance=2cm, + sibling distance=2cm,every node/.style={fill=red!20,rounded corners}, + edge from parent/.style={->,thick,draw}] +\node {Wurzel} + child [sibling distance=4cm] {node {Kind-L} + child {node {Kind-LL}} } + child {node {Kind-R} + child {node {Kind-RL}} child {node {Kind-RR}} }; +\end{tikzpicture} +\end{document} |