[TxMt] Reformat paragraph and the LaTeX mode

Eric Hsu erichsu at math.sfsu.edu
Wed Jan 11 00:50:29 UTC 2006


At 1:30 AM +0100 1/11/06, Sune Foldager wrote:
>I added some commands lately, but apparently the current trend is to 
>keep them small (even though LaTeX is one of the smallest) so they 
>were rolled back. My $$ snippet, which turns into \[ \] survived, 
>though. So: $$ <tab> :-).

I noticed that. I tweaked it to include the selected text, so I 
believe it works the way you expect when $$-tab triggered while it 
behaves the way I want when key-triggered (which is to wrap \[ \] 
around selected text). I made a parallel one that does \( \), but I 
also thought about retraining myself to use $ ... $ since that 
auto-matches so nicely.  I'll commit it when I remember to...

best, Eric
-- 
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu at math.sfsu.edu
http://math.sfsu.edu/hsu



More information about the textmate mailing list