[OS X TeX] superscript completion

Herbert Schulz herbs at wideopenwest.com
Fri Oct 22 08:10:57 EDT 2010


On Oct 22, 2010, at 4:46 AM, Cleo wrote:

> Hi guys,
> 
> I´m using TexShop and TL2009. When I want to write an expression like x^{y} I
> just write x^ and press the spacebar. However, instead of Texshop complete as
> x^{}, it complete as x^^{}, i.e., putting two ^^ before the brackets.
> 
> How can I configure it to obtain the completion as x^{}?
> 
> Regards.
> 
> Cleo

Howdy,

Are you using the Spanish localized keyboard? Also, what ``completion'' are you talking about; Auto Completion (which is really a keybinding) or Command Completion (there you press the Esc [or possibly the Tab] key)? I guess I don't understand what is happening here and why the space bar is being pressed but I do seem to remember a problem there.

If it's Auto Completion you can edit the ~/Library/TeXShop/Keyboard/autocompletion.plist (you MUST open it with UTF-8 Unicode encoding) by changing the lines

	<key>^</key>
	<string>^{#SEL##INS#}</string>

to

	<key>^</key>
	<string>{#SEL##INS#}</string>

(notice the lack of `^' in the second line).

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list