TEX and L TEX Macros for Linguistics

advertisement
TEX and LATEX Macros for Linguistics
List last updated: April 20, 1994
The following list is really a “work-in-progress”; it can’t claim to be exhaustive or
complete, but is based on information which has come to light as people have posted
messages to the ling-tex mailing list.
The purpose of ling-tex and of this partial listing of macros is to identify material
which is available, and also stimulate testing, improvements to code and documentation,
and so on, all with as much cooperation and assistance from the original authors as
possible.
The material is all public domain, but the usual requests for citing authorship, not
changing the contents without changing the file name, and so on also apply. These are
the results of volunteers efforts, and a desire to share those efforts with others; this should
always be kept in mind. Constructive criticism, helpful suggestions, or offers of revised
coding or wording are always welcome.
1. This list will be posted periodically to the ling-tex mailing list. To subscribe to
the ling-tex mailing list, send a message to ling-tex-request@ifi.uio.no.
2. This list will be available from CTAN sites in the directory:
/tex-archive/linguistics/ling-mac.tex
See Section 2 for a list of CTAN sites.
As of this revision, I am not aware that the site is ready to receive this list. So don’t
be surprised if you don’t find the file there, or if the linguistics directory doesn’t
exist at all.
3. I am about to relinquish maintenance of this file to some (at this point) unnamed
person, but for the time being, you can ...
(a) If you don’t have access to ftp you can request a copy of this file by sending
mail to sa2b@virginia.edu with subject line: request: ling-mac.tex.
(b) To submit an addition to this file, send mail to sa2b@virginia.edu. Your addition will be forwarded to the file’s new maintainer.
1
1
Details on various .sty files
TEX macros are listed alphabetically in the following format:
macroname1, macroname2, etc.: Author information (author@e-mail.address).
An informative description.
ftp site: ftp directory or availability information
avm-doc.tex, avm.sty: By Christopher Manning (manning@csli.stanford.edu).
Macros for attribute-value matrices. Documentation available (but not printed in
this collection).
CSLI: pub/TeXfiles
cgloss4e.sty: This is a modified version of covingtn.sty by Hap Kolb and Craig Thiersch.
For glosses; as with covingtn.sty, doesn’t require ampersands (&) to align sets of
glossed items.
“Following borrows from Covington’s style files inspired by Midnight by M. de
Groot, adapted to be used with gbt3.sty: examples beginning with \ex can contain
glosses directly. Default is Linguistic Inquiry style with all lines in \rm.”
No documentation, but file is heavily commented.
Posted to ling-tex; not currently available on archives.
chomsky.sty: Created by Michael Barr (barr@ ...
).
No documentation; however, file is heavily annotated. Some draft documentation
has been written by Ch. Thiele
CTAN: tex-archive/macros/latex/contrib/misc
cjl-glosses.tex: Created by Michael Dunleavy, Carleton University; maintained by Ch.
Thiele (cthiele@ccs.carleton.ca).
Macros for glosses (seems to work in both plain TEX and in LATEX). Variants for
centred, flush right or left glosses, and others. Some documentation; needs testing
before it can be put out on the archives.
Posted to ling-tex list; not currently available on archives.
cm-lingmacros.sty: Modified version of Emma Pease’s lingmacros.sty, by Christopher Manning and Avery Andrews (Avery.Andrews@anu.edu.au).
CSLI: pub/TeXfiles
covingtn.tex, covingtn.sty: Created by Michael Covington.
LATEX macros for numbered examples, glosses, phrase structure rules, feature structures, discourse representation structures, exercises, reference lists, and miscellany.
Documentation.
CTAN: tex-archive/macros/latex/contrib/covington
2
French Style Files: Bernard Gaulle (gaulle@idris.fr).
French based style files offering a easy to use multi-lingual scheme to work with
other languages (English and German are currently offered.) French patterns are
up to date and there are a lot of test files. This package also offer a way to change
your keyboard “on the fly” and to set your default at initex time, i.e. when creating
your format. Two versions are released per year.
ftp.univ-rennes1.fr: pub/GUTenberg/french
glex.sty: Created by Rob Norris; notes from Chet Creider.
LATEX macros for numbered glosses. All three lines of a gloss are input; by contrast,
cjl-glosses.tex only takes care of the first 2 lines, requiring the 3rd line, the
translation, to be formatted independently. On the other hand, glex.sty works
with tabs, while cjl-glosses.tex groups each set of word-1 over gloss-1 within
braces.
[Availability not yet determined.]
gloss.tex, gloss.doc: Part of the Midnight Macros set by Marcel van der Goot
(marcel@cs.caltech.edu).
Macros for vertically aligning words in consecutive sentences. Documentation.
CTAN: tex-archive/macros/macros/generic/midnight
lingmacros.sty: By Emma Pease, CSLI, Stanford.
Macros for numbered examples, trees, AVM structures.
CSLI: pub/TeXfiles
lsalike.sty, lsalike.bst: Daniel S. Jurafsky, UC Berkeley.
“lsalike style file for bibtex. It implements a bibliography format which is very close
to the LSA style sheet and resembles the journal Language. Among its advantages
are that it does the lovely dashed-lines-for-repeated-bib-entries that makes Language
bibliographies so easy to read, and it also makes citations of the form Chomsky
(1965:134) very easy.”
ftp.icsi.berkeley.edu: pub/ai/jurafsky
numquote.doc, numquote.tex, enum.sty: Bob Mercer, U. of Western Ontario.
LATEX macros for automatic numbering of examples. Documentation.
Posted to ling-tex list; not currently available on archives.
pstrees: From Avery Andrews; requires Emma Pease’s tree-dvips package.
“This package consists of a preprocessor and some macro-definitions, by which
linguistics-style trees can be specified as convenient indented lists, with spacing
and line-drawing done automatically.”
CSLI: pub/TeXfiles (a tar file)
[Note: pstrees contains files which do not include the prefix “pstrees”; rather, the
main files are “trees.**”, which may cause confusion if one is not careful – Ch.]
3
pstricks: Created by Timothy Van Zandt (tvz@Princeton.EDU).
This is an extensive collection of PostScript macros that is compatible with most
TEXmacro packages, including Plain TEX, LATEX, AMS-TEX and AMS-LaTeX. Included are macros for color, graphics, rotation, trees and overlays. “PSTricks puts
the icing (PostScript) on your cake (TEX)!” Documentation.
CTAN: tex-archive/graphics/pstricks
qtree: Alexis Dimitriadis (alexis@babel.ling.upenn.edu).
Qtree consists of tree macros written by Jeff Siskind and a front end by Alexis
Dimitriadis. These macros allow a tree to be specified in bracketed notation rather
than as a series of LATEX directives, and take into account the size of the node labels
when designing the tree; it is usually only necessary to specify the tree topology to
obtain beautiful trees. The node labels themselves can be arbitrarily complicated.
Documentation is included in the distribution file.
ai.uga.edu: /pub/tex/qtree.shar
tree-dvips: Created by Emma Pease (emma@csli.stanford.edu).
CSLI PostScript drawing macros. These macros were originally created to draw the
lines between nodes in the trees created by the tree macros in lingmacros.sty.
They will only work with dvips version 541 or later (by Tomas Rokicki available on
labrea.stanford.edu) but can be easily modified to be used with earlier versions
of dvips and slightly less easily modified for other dvi to PostScript convertors.
Documentation. [Formerly known as tree.tex.]
CSLI: pub/TeXfiles (a tar file)
treetex Created by Anne Brueggemann-Klein and Derick Wood.
Extensive tree-drawing macro set. Documentation available. See also: A. BrueggemanKlein and Derick Wood (1989) “Drawing trees nicely with TEX,” Electronic Publishing 2.2.101–115.
[Availability unknown.]
voorbeeldom.sty: Created by Werenfried Spit (spit@vm.ci.uv.es, spit@ific.uv.es).
LATEX document-style option which defines an enumerate-like environment for typesetting linguistic examples. No documentation, but .sty file has commented examples.
CTAN: tex-archive/macros/latex/contrib/misc/voorbeelden.sty
4
2
What’s available where
• Most TEX-ware is available via “anonymous” ftp from the CTAN (Comprehensive
TEX Archive Network) sites, in the directory /tex-archive.
CTAN sites:
Aston, UK
Huntsville, Texas
Germany
ftp.tex.ac.uk
ftp.shsu.edu
ftp.dante.de
134.151.79.32
192.92.115.10
129.206.100.192
The CTAN holdings are too numerous to list here. Get the README files from the
/tex-archive directory for more information.
• In addition to CTAN there has been a long-standing ftp site at Stanford:
csli.stanford.edu
36.9.0.46 /pub/TeXfiles
The Index for the directory (as of January 18, 1994), shows the following:
Phonetic.tar.Z: METAFONT code for Phonetic Characters including some uppercase
Hausa.
arm.tar.gz: Armenian 300pk and tfm fonts (old metafont)
cslibib.bst.Z: CSLI bibliography style
1. citations in text look like (Barwise 1987) or (Barwise and Perry 1986) or
(Barwise et al. 1985)
2. There are no labels in the bibliography (when used with acslibib.sty)
3. The first author’s name is reversed: last, first initial, first initial last.
(adapted from anatsci.bst)
4. letters a, b, . . . are added to the year for multiple entries in label and
reference list
5. A shortcite also exists (year only) (adapted from aaai-named.bst)
cslibib.sty.Z:
endnotes.sty: Endnotes instead of footnotes
lingmacros.sty: Various linguistic macros. Well commented.
permil.mf, permil.300gf, permit.tfm: code for a per mill sign
pstrees.tar.Z: Avery Andrew’s tree macros
suthesis.sty: Stanford University thesis style
tree.tar.Z: Macros for using PostScript to draw lines for trees (and other things).
• There is a smaller archive at the University of Georgia which contains files of local
interest.
ai.uga.edu 128.192.12.9 /pub/tex
5
Download