|
|
Please also check out the LaTeX4Ling page
and Christopher Manning's (La)TeX page.
There are several style files and packages around. What I am using
can be downloaded from the links below. Any hints or suggestions for further
files and tools are welcome. I'd be especially happy about any comments
on the xyling tree macros I wrote by myself.
-
Linguex
,
written by Wolfgang
Sternefeld, provides a nice environment for examples with automatic
numbering, glosses, labelled brackets, easy referencing, and other stuff.
(Documentation). An older but also very
useful package is gb4e.
-
The Covington
style file provides nice and handy macros for a couple of things: phrase
structure rules, examples with numbering, three-line glossing, feature
structures, discourse representation structures, exercises, reference lists,
big curly brackets, double accents on letters. (Documentation)
-
Drawing
syntactic trees with LaTeX used to be a pain for me. The tool that I favored
thus far was tree-dvips (documentation),
written by Emma Pease. It provides macros for drawing trees and lines and
arrows both within trees and within ordinary text. The problem is that
the package requires PostScript. You cannot see the lines in your
.dvi
file. It is also impossible to make them visible in a .pdf
file created with pdflatex. I often used a graphics program like
xfig
for this purpose, creating a tree in a picture environment. This
environment has many limitations and often yields not very nice output.
Wolfgang Sternefeld's Linguex contains a quite
sophisticated enhancement of tree-dvips called ps-trees (documentation).
It still only produces trees in combination with a postscript interpreter.
The aesthetic results of both of these macro packages are not always convincing,
compared to the time they take you. A lot of extra work is needed to keep
trees symmetric, when the node entries have unequal width etc.
-
I found
a way out, when I recognized a great graphics package, called xypic,
written by Kristoffer H. Rose and Ross Moore,
which has been part of my LaTeX distribution ever since I work with LaTeX.
It establishes a macro language that can create all sorts of weird mathematical
graphics and diagrams, and, most importantly, it produces Metafont
code, thus the graphics are visible in any file format. I tried to make
up some xypic based macros for tree drawing and called the results xyling
(documentation). Get the xypic package,
if you don't have it, from
Dante.
Feedback, suggestions, bug reports appreciated.
-
A font package
that provides the IPA (International Phonetic Alphabet) symbols
has been provided by Fukui Rei. It is called TIPA and can be downloaded
from
tug (documentation).
|