[TxMt] First impressions

Pete Becker pete at versatilecoding.com
Wed Jan 30 13:30:32 UTC 2008


On Jan 29, 2008, at 8:36 PM, Charilaos Skiadas wrote:

>
> On Jan 29, 2008, at 11:00 AM, Pete Becker wrote:
>
>> On Jan 29, 2008, at 10:25 AM, Mark Eli Kalderon wrote:
>>>
>>> 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 '_'.
>
> I've been working for probably close to a decade with LaTeX, using  
> labels with underscores in them all the time, and had not even heard  
> of this package before! I never had any problem. Is it perhaps  
> automatically loaded with some commonly used package?
>

Maybe. The problem, of course, is that '_' means subscript, and it's  
not valid outside math mode (obviously an unnecessary restriction).  
The correct package name is "underscore", not "underscores. <g>

   -- Pete

Roundhouse Consulting, Ltd.





More information about the textmate mailing list