[OS X TeX] smart-Typing-Pairs with texshop

Herbert Schulz herbs at wideopenwest.com
Sun Dec 6 10:43:25 EST 2009


On Dec 6, 2009, at 9:29 AM, Alain Schremmer wrote:

> 
> On Dec 6, 2009, at 4:43 AM, Alain Matthes wrote:
> 
>> Hi
>> 
>> I found any answer to this question on the net : how to get pair of brackets and parentheses
>> automatically. I would like  to  get (..) [...] with only one action and like in TextMate
>> I would like  replace a "selected text" by "(selected text)" or "[selected text]".
>> 
>> Is it possible with TexShop ?
> 
> You might want to check AutoPairs (You can select the applications you want each pair to work on.)
> 
> Regards
> --schremmer

Howdy,

Interesting preference pane. It wasn't clear from the web site if you can set autopairs to insert the selection between the delimiters (e.g., if you have 22 selected and type { will you get {22} with the insertion point just after the selection and before the closing }) or if you can escape the pairing with a \ (i.e., \{ does NOT create \{}).

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list