[TxMt] LaTeX syntax enhancements.

Brad Miller bonelake at mac.com
Fri Jan 28 23:20:27 UTC 2005


In an effort to avoid actual writing this afternoon, I decided to add 
some enhancements to the LaTeX syntax bundle.

Here's what I've done:

\textbf{foobar}   -> highlights with textbf as the usual 
maroonish/purplish command color but foobar is bolded in black
\textit{foobar}   -> sames as above but foobar is italicized in black
\texttt{foobar}  -> same as above but in a teletype font, ha, no 
really, its underlined.

Added highlighting for strings like:  `foo' and 	``foo''  These are 
colored in the same green as math.  I find this one really helpful as 
it also points out when I've forgotten to use the proper pairing of 
quotes.  I thought about highlighting "foo" in red to really remind me 
that its wrong.

Added $ to the list of smart typing pairs.  I don't know about the rest 
of you but 99% of the time when I type a $ in LaTeX its to do math.

I also brightened up that maroonish purplish  color just slightly since 
it seemed a bit dim to me.

Since these changes seem generally useful and non-controversial (except 
maybe the color change).  I'd be happy to contribute these to the 
subversion repository if Alan would grant me an account.

However, since there are already at least three people in the history 
file I thought I would post my ideas for further discussion.  Any 
requests?

Brad
--
Brad Miller, PhD
Assistant Professor
Luther College
http://www.cs.luther.edu/~bmiller
jabber:  bnmnetp at jabber.org




More information about the textmate mailing list