[TxMt] Re: Highlighting in Textmate - Latex

Alex Ross tm-alex at rosiba.com
Fri Nov 7 11:59:14 UTC 2008


On Nov 7, 2008, at 12:49 PM, Want to Learn wrote:

> Hi,
>
> I am using textmate for Latex. I was wondering if there is a way I  
> could customize highlighting of document parts in Latex. For  
> example, currently the footnotes are not highlighted, but any math  
> input between two $ signs is highlighted in green. Suppose I want  
> everything that appears between \footnote{ and } in gray color or  
> add a background color. Is there a way to do that?
>
> Thanks very much for your help.

In your theme, add a rule for meta.footnote.latex.  Go to preferences,  
find the fonts & colors tab, click the “plus” sign to add a new rule.   
set the scope selector to meta.footnote.latex.  Give the rule a name,  
and add a color.  That's it!

—Alex


More information about the textmate mailing list