I'm using tikz-qtree to lay out a taxonomy diagram for a literature overview. I would like to have a list of citations under each of the terminal nodes. However, I'm having some issues styling the citation nodes in the tree.
This is what I have so far:
\documentclass[twocolumn]{article} \usepackage{tikz} \usepackage{tikz-qtree} \tikzstyle{concept}=[rectangle, rounded corners, draw=black, fill=blue!20, text centered, text width=2cm] \tikzstyle{citations}=[draw=none, fill=none, text centered, text width=2cm, level distance=1pt] \begin{document} \begin{figure} %\begin{tikzpicture}[grow=down, every internal node/.style={concept, level distance=60pt}, every leaf node/.style={citations, level distance=1pt}] \begin{tikzpicture}[grow=down, level distance=60pt, every internal node/.style={concept}, every leaf node/.style={citations}] \tikzset{sibling distance=2.5pt} \Tree [.Segmentation [.Classical [.{Colour \& intensity} {\cite{a}} ] [.Clustering {\cite{b}} ] ] [.{Deep networks} [.CED ] [.FCN ] [.GAN ] ] ] \end{tikzpicture} \end{figure} \bibliographystyle{unsrt} \bibliography{Literature} \end{document} Literature.bib:
@article{a, author={Made up author}, title={One made up citation}, } @article{b, author={Made up author}, title={And another one} } 
Specifically, I'd like to change the level spacing for the leaf nodes so the citations appear right below their corresponding categories. Ideally, I'd also like all internal nodes to be centre-aligned vertically (rather than top-aligned as they are currently), and I'd like there to be no edges to the leaf nodes. Note that the solution from this answer of simply using \\ doesn't work, since I'd like the citations to be outside the blue rectangles of the inner nodes. The tree may also be unbalanced so I can't simply change the distance at a specific tree level.
I've tried some different ways of changing the level distance property but with no luck so far. I'm not really tied to tikz-qtree either, so I'd accept a solution using a different package/library for tree layout in tikz as well.
