diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung2/15-04-46.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/einfuehrung2/15-04-46.ltx | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung2/15-04-46.ltx b/Master/texmf-dist/doc/latex/einfuehrung2/15-04-46.ltx new file mode 100644 index 00000000000..fb464cc6688 --- /dev/null +++ b/Master/texmf-dist/doc/latex/einfuehrung2/15-04-46.ltx @@ -0,0 +1,42 @@ +%% +%% Ein Beispiel der DANTE-Edition +%% +%% 2. Auflage +%% +%% Beispiel 15-04-46 auf Seite 795. +%% +%% Copyright (C) 2016 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{169.16928pt} +\usepackage[T1]{fontenc} +%StartShownPreambleCommands +\usepackage{tikz} +\usetikzlibrary{trees} +%StopShownPreambleCommands +\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} |