[OS X TeX] Feature Request Math Bracket
Ryan Clary
mrclary at umd.edu
Fri Mar 14 17:46:09 CET 2008
Better than a shortcut, you can define an autocompletion (not command
completion) which will do the same thing as the shortcut ($#INS#SEL$)
but will enter the second $ after typing the first $. I used this for
all of my (, {, $, and [.
Ryan Clary
On Mar 14, 2008, at 12:31 PM, Herbert Schulz wrote:
>
> On Mar 13, 2008, at 9:56 PM, Richard Seguin wrote:
>
>> Bracket matching has never been a problem for me. My biggest source
>> of errors are unclosed $ ... $ strings. Up until recently I was
>> using BBEdit which has an option that colors all characters between
>> the $ delimiters in green. This makes it very easy to spot the
>> problems, and I made very few of that type of error. I switched to
>> the TeXShop editor a couple of weeks ago because a bug in the
>> BBEdit syntax coloring having to do with equation environments was
>> driving me crazy. (This has been reported to the developers who can
>> reproduce it.) Now I'm once again making quite a few errors having
>> to do with the closing the $ ... $ strings. I've wished for a long
>> time that TeXShop could do the same sort of coloring as BBEdit. ...
>
> Howdy,
>
> You might try to define a macro that inserts $$ and places the
> cursor between them: $#SEL##INS#$. Assign that to a convenient
> keyboard shortcut. That way you can't get missing pairs. I tend to
> use \(...\) most of the time (there are times when that will give
> rise to errors---e.g., maths in section headers) and have assigned
> that to Cmd-9.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest.com)
>
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>
More information about the macostex-archives
mailing list