[TxMt] First impressions

Pete Becker pete at versatilecoding.com
Tue Jan 29 16:00:44 UTC 2008


On Jan 29, 2008, at 10:25 AM, Mark Eli Kalderon wrote:

>
> Tab triggers are snippets of text that are inserted by typing some
> predetermined text and hitting tab. If you insert the sections (and
> subsections etc) using the tab triggers in the LaTeX bundle, i.e.,
> typing “sec” and hitting tab, you get the following:
>
> section{section name}label{sec:section_name} % (fold)
>
> % section section_name (end)
>
> The comments (”% (fold)”, “% section section_name (end)”) function as
> fold markers thus allowing code folding of sections. This is a  
> standard
> part of the LaTeX bundle. Just be sure to insert your sections with  
> the
> provided snippets. (It is quicker anyway.)
>


It's quicker only if you have the underscores package loaded.  
Otherwise, '_' isn't a valid character in a label, and you have to  
change all those underscores to something else. <g> I modified the  
snippets to use '.' instead of '_'.

   -- Pete

Roundhouse Consulting, Ltd.





More information about the textmate mailing list