#								-*- syntax -*-
# led syntax specification for TeX/LaTeX.
#
# (c) 2002 Jordan DeLong
#

begin	: % :
endatnl							are "comment";

# commands, of the form \ followed by a word
regexp	"\\\\[a-zA-Z]+"					are "keyword";

# commands, of the form \ followed by a special character
regexp "\\\\."						are "keyword";

# other things, right now just the math deliminator $.
tokens	: $ :						are "keyword";
