TeX/MetaPost stuff
I've developed a tree-drawing package for MetaPost, which will
hopefully approach
Qtree in ease
of use, but inherit from MetaPost the ability to draw movement arrows,
dashed or labeled edges, etc. I still update it from time to time and would appreciate suggestions.
Before that, I wrote a frontend for PSTricks' tree-drawing package which is
compatible with Qtree (except for \qroof), but retains the flexibility of
the original PSTricks macro.
TeX boxes have both a height and depth (above and below the baseline) but the way MetaPost and graphicx interact with each other isn't aware of this. Here is a pair of files to remedy this:
- depincgr.sty: defines a macro \depthincludegraphics that works like \includegraphics but aligns the axis y=0 with the baseline.
- txtboxes.mp: redefines the boxit macro with three new reference points: if box is a box, then box.bw, box.b, and box.be are the left, center, and right of the baseline.
This macro draws dialog-style thermometers for use in presentations: