I am having real trouble creating a tree. So far I have
\documentclass{article}
\usepackage{tikz-qtree}
\begin{document}
\begin{tikzpicture}[every tree node,
level distance=1.25cm,sibling distance=1cm,
edge from parent path={(\tikzparentnode) -- (\tikzchildnode)}]
\Tree
[
\edge node[auto=right,pos=.6] {$A$};
[.1
\edge node[auto=right,pos=.8] {$B$};
[.2 ]
\edge node[auto=left,pos=.8] {$C$};
[.3 ]
]
\edge node[auto=left,pos=.6] {$D$};
[.4 ]
]
\end{tikzpicture}
\end{document}
which produces
However, I want to have two more layers, from 2 I want another 2 branches, and from the left of these branches I want another. Also how does one put a label underneath the numbers I have used?
Thank you very much and I hope I am clear
forest
package.\documentclass
, relevant packages, etc.