[OS X TeX] Parens Matching

George Ghio gghi at bordernet.com.au
Thu Dec 18 00:16:02 CET 2008


Hi Tamer I just added this to my library/texshop/keyboard and it works

<key>$</key>
<string>$#INS#$</string>

Thanks to Josep.

George
On 17/12/2008, at 11:36 PM, M. Tamer Özsu wrote:

> Any way to set this up so that when you type $, you get $ $ and the  
> cursor stays in between the two $'s? I can get $ $ following these  
> instructions, but the cursor is placed after the second $.
>
> Thanks.
>
> --
> M. Tamer Özsu
> University of Waterloo
>
> On Wed 17-Dec-08, at 7:05 AM, Josep Maria Font wrote:
>
>> El 17/12/2008, a las 12:06, George Ghio escribió:
>>
>>> Very small problem with TeXShop(I hope). Can't seem to get "{}" in  
>>> my documents only half the pair when I hit the "{" key. Is this  
>>> normal for TeXShop even when the "Parens matching" box is ticked in
>>> Preferences - Document - Editor -Parens Matching?
>>
>> This is not what "parens matching" does. To obtain what you want,  
>> you must enable "auto completion" in the same place, and edit the  
>> file "autocompletion.plist" in the TeXShop/Keyboard folder, as the  
>> one you want is not there. You can do the same for $ $, [ ], ( ),  
>> etc. It works like a charm. Look for "Auto Completion" in TeXShop's  
>> Help panel (Help menu).
>>
>> BTW, this is not the same as "Comand Completion" either.
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
>




More information about the macostex-archives mailing list