[OS X TeX] type regular double-quote in TeXShop?
lfsequeira at gmail.com
Thu Jul 18 04:42:44 EDT 2019
There are a few ways to handle this.
First, an explanation.
What is happening when you press the double quote "
is that TeXShop auto completion kicks in and types ``'' (around the selected text, if any).
That is what you normally want to happen, and I would not want to turn this off (although it can be done by editing the ~/Library/TeXShop/Keyboard/autocompletion.plist file).
But what if you want to at some point (perhaps within a verbatim environment where you including programming code, for example) actually want to type the double quote character into your LaTeX source?
One option is to type it somewhere else, like TextEdit, and copy it and paste it.
Below is the solution I came up with for this exact purpose, and that I have been using successfully for some years now.
There is another useful feature of TeXShop: Key Bindings.
So I went into
Source->Key Bindings->Edit Key Bindings File...
and I added a new one. I used Option-" for input and a quote for output.
So now all I have to do to get a double quote is to press the same key I would have, except with the Option modifier.
The trick is to assign it to something that is easy to remember and that you would not use for a different purpose. Since I would have no use for the æ character that is normally typed with option-quote, that made it ideal.
More information about the MacOSX-TeX