How can I put example tree (a) and example tree (b) next to each other on the page? At the moment, tree (b) appears below tree (a):
\documentclass[12pt,a4paper]{article}
\usepackage{tikz-qtree}
\usepackage{tikz-qtree-compat}
\usepackage{ulem}
\begin{document}
\ex. \a. \begin{tikzpicture} \Tree [.DP [.N Pat ] ] \end{tikzpicture}
\b. \label{VP} \begin{tikzpicture}
\Tree [.VP [.V saw ] [.DP [.N Kim ] ]]
\end{tikzpicture}
\end{document}

\ex,\aand\bshould not have backslashes). After correcting this, the code compiles fine and the trees are put one next to the other. – Philipp Imhof Aug 05 '15 at 14:30linguexpackage, which should be loaded in the preamble. Then it compiles as the @user65526 describes. – Jason Zentz Aug 05 '15 at 14:42multicolsjust like exposed in Gonzalo's answer. – Philipp Imhof Aug 05 '15 at 14:44