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.

Category: code

Tagged: , , , , , ,

3 Responses

  1. Title…

    Wow, I’m really chuffed that I landed on this site, good info here! Better than http://google.com!…

  2. Derrick says:

    civilized@phosphate.cappy” rel=”nofollow”>.…

    спасибо….

  3. Gilbert says:

    crowder@attrition.cashed” rel=”nofollow”>.…

    благодарствую!…

Leave a Reply