I'd like to align all leaves of a tree at the bottom, so what I'd like to achieve should look like:
p
/ \
/ /\
c d e
What I've tried so far (using tikz-qtree) results in:
p
/ \
c /\
d e
I'm currently using tikz-qtree, but if there's an alternative better suited to the task, feel free to suggest one ;) Sidenote: I'm actually not labeling nodes, but edges.
Code:
\documentclass[12pt]{article}
\usepackage[active,pdftex,tightpage]{preview}
\usepackage{tikz-qtree}
\PreviewEnvironment[]{tikzpicture}
\begin{document}
\begin{tikzpicture}[every tree node/.style={draw,circle},sibling distance=10pt,
edge from parent path={(\tikzparentnode) -- (\tikzchildnode)}]
\tikzstyle{every node}=[font=\tiny, sloped,anchor=south,auto=false,inner sep=1pt]
\Tree
[.{}
\edge node[]{C};
[.{}
]
\edge node[]{A};
[.{}
\edge node[]{D};
[.{}
]
\edge node[]{E};
[.{}
]
]
]
\end{tikzpicture}
\end{document}
\documentclass{...}
and ending with\end{document}
.