This handout was developed for University of Maryland's LING 311 class, in spring 2020, as a tutorial on how to draw trees on the computer.
It is a substantially revised version of a tutorial that Diogo Almeida originally wrote in fall 2006.
Feel free to fork this repository and open a pull request if you see ways that these materials could be improved. You're also welcome to open a GitHub issue.
Another good (more advanced) resource for drawing trees is Alan Munn's "Using Overleaf to make Trees" tutorial.
In order to compile the file tree-drawing-tutorial.tex, you
will need to do the following things:
- Install
Pygments. If you havepipinstalled, you can just dopip install Pygments. See theminteddocumentation for more information. - Compile the file with shell escape enabled. Also see
the
minteddocumentation for more information. - Either change the font that the document uses or download and install the Adobe Garamond Pro font on your machine.
- Either change the bibliography style or install S&P's Biblatex implementation of the Unified Stylesheet for Linguistics Journals.
While not necessary to succesfully compile the document, if you'd like
the git information in the footer to be typeset correctly, you will
also need to:
- Install the three required hooks into the
.git/hooks/directory. This can be done via theinstall-git-hooks.shscript on a *nix system with./circle-ci-setup/install-git-hooks.sh. Then dogit checkout master. (Thegitinformation for insertion into the document is generated anytime a checkout, commit, or merge occurs.)
For a list of changes, see the changelog. For PDFs of older releases of this document, see the releases.
This work is licensed under a Creative
Commons Attribution-NonCommercial-ShareAlike 4.0 International
License.
