Icon

Tree denotations

Have you always wanted nice denotation brackets around your Qtree trees in LaTeX, like the ones here but without all the clunky extra whitespace above the tree?

Here’s the code (all one line):

\newcommand{\denote}[1]{$\left[\hspace{-.06in}\left[\begin{tabular}[c]{@{}l@{}}#1\end{tabular}\right]\hspace{-.06in}\right]$}

I’m pretty proud of this thing — I made a lucky guess in the first ten minutes instead of wasting two or three hours like I usually do on tiny TeX problems.