I wanted to typeset
So, I wrote (derivation of https://tex.stackexchange.com/a/302713/82730)
\documentclass[a4size]{article}
\usepackage{microtype}
\usepackage[T1]{fontenc}
\usepackage{adjustbox}
% forest
\usepackage{forest}
% parsing tree
\forestset{
declare toks={wff}{},
declare toks={connective}{},
declare dimen register={parsing tree sep},
parsing tree sep=7.5pt,
parsing tree/.style={
% append the current root to a new phantom root.
for root'={
replace by={[,phantom,append=!last dynamic node]}
},
for tree={
math content,
parent anchor=children,
child anchor=parent,
inner sep=0pt,
if n children=1{!first.before packing=calign with current edge}{},
delay={
content=\circ,
insert before/.wrap pgfmath arg={
[##1,no edge,math content,anchor=base east, before computing xy={
s/.pgfmath={s("!n")-parsing_tree_sep}}]
}{wff},
if connective={}{connective/.option=wff}{},
insert after/.wrap pgfmath arg={
[##1,no edge,math content,anchor=base west, before computing xy={
s/.pgfmath={s("!p")+parsing_tree_sep}}]
}{connective}
}
}
},
default preamble={parsing tree,baseline}
}
\begin{document}
\begin{center}
\fbox{
\begin{adjustbox}{valign=M}
\begin{forest}
[,wff=1,connective=\chi]
\end{forest}
\qquad
\begin{forest}
[,wff=m+3,connective=\neg [,wff=m,connective=\chi]]
\end{forest}
\qquad
\begin{forest}
[,wff=m+n+3,connective=\neg [,wff=m,connective=\chi]
[,wff=n,connective=\chi]]
\end{forest}
\end{adjustbox}
}
\end{center}
\end{document}
which was rendered as
The tree at the left is not vertically centered, but it's at the top. How can I vertically center the trees?



\begin{adjustbox}{valign=M} <content> \end{adjustbox}\qquad\begin{adjustbox}{valign=M} <content> \end{adjustbox}\qquad\begin{adjustbox}{valign=M} <content> \end{adjustbox}. – azetina May 13 '16 at 04:20