[OS X TeX] automatic superscript braces in TeXShop editor

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Sat Jan 28 20:07:03 CET 2012


Thanks for the advice; I followed it, and now the key binding list has a line with input ^ and output ^{#SEL##INS},
but when I type x^y, I get that, not x^{y}.  Do I need to quit TeXShop for it to take effect?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966
http://www.tufts.edu/~znitecki/




On Jan 28, 2012, at 12:26, Herbert Schulz wrote:


On Jan 28, 2012, at 11:15 AM, Nitecki, Zbigniew H. wrote:

I have for a long time had a setting in my TeXShop editor that automatically enclosed the contents of a superscript in braces (i.e., typing ^ yielded ^{}).  I have no memory how I accomplished this, but it must have been by checking a box, since I am not even remotely an Applescript guy.  Very recently, this feature disappeared (it may have been when I installed TS 3.06), and I looked through various manuals to see how
to restore it, but have not found it.  Does anyone have a suggestion how to do it?

Zbigniew Nitecki
Department of Mathematics

Howdy,

Open the Key Bindings Editor (Source->Key Bindings->Edit Key Bindings File…) and look at the list. Put ^ in the Input: pane and ^{#SEL##INS#} in the Output: pane and press the + button; that adds the new key binding to the list. Hope this helps.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)



----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
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