summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/binarytree/examples/binarytree-ex2.tex
blob: 4c7b07fd49b4bc9ea29b16ad3feac156fcd71505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\documentclass{standalone}
\usepackage{binarytree}

\begin{document}
\btreeset{%
  draw missing,%
  separate,%
  level distance scales=false,%
  sibling distance scales=false,%
  scale=0.5}

\def\arraystretch{1.5}
\begin{tabular}{cc}
  none scales & both scale \\
  \BinaryTree{}{3} &
  \BinaryTree[yscale=1.7,level distance scales,%
                        sibling distance scales]{}{3} \\
  level distance scales & sibling distance scales \\
  \BinaryTree[yscale=1.7,level distance scales]{r}{3} &
  \BinaryTree[sibling distance scales]{}{3}
\end{tabular}
\end{document}