On 12 Apr 2010, at 17:40, pinky wrote:

I'm using latex a lot in math mode and it would be great if the bundle command for Bold and some other could differ between text mode and math mode. In text mode it should still write \textbf{} but in math mode \mathbf{}. Is there a flag for the mode I can check?

Duplicate the existing snippet for bold, change its text accordingly and set the scope selector to string.other.math.block.tex then it will override it in math mode.

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to