I want to center vertically different height figures inside the block they reside in.
I use the 'tikz-qtree' for the trees, and I want the '5' tree and the right arrow aligned vertically.
\documentclass[a4paper]{article}
\usepackage{mathtools}
\usepackage{tikz-qtree}
\begin{document}
\tikzset{every tree node/.style={minimum width=2em,draw,circle},
blank/.style={draw=none},
edge from parent/.style=
{draw, edge from parent path={(\tikzparentnode) -- (\tikzchildnode)}},
level distance=1.5cm}
\begin{center}
\begin{tikzpicture}
\Tree
[.9
[.7 ]
\edge[blank]; \node[blank]{};
]
\end{tikzpicture},
\begin{tikzpicture}
\Tree
[.5 ]
\end{tikzpicture}
$\Longrightarrow$
\end{center}
\end{document}
\raisebox{-6pt}{}
around thetikzpicture
pair, or conversely, a+6pt
\raisebox
to the\Longrightarrow
.