[Tex/LaTex] Backward opening quote in Mac

punctuation

I am using Mac OS X, Standard US English Keyboard. I have written a full document using TeXShop. I have several double quote and single quote for single word or two words (not a quotation of many lines), like

"MyWord"

'MyWord'

However, when the PDF is produced, the opening quote mark looks like a closing one.

Now, how can I set globally so that it looks like normal. I wish I could set a global definition or package without rewriting or editing text. Searching this forum, I found one solution:

\usepackage[T1]{fontenc}  

But it has two problem. It produces straight quote mark, also only working for double quote.

Could any one provide simple solution for:

1) global setting that works for both single and double CURLY quote, so that it looks normal in Mac

2) global setting that works also for single STRAIGHT quote with option: \usepackage[T1]{fontenc}

Note that I am using following package:

\usepackage[catalan,english]{babel}
\usepackage[T1]{fontenc}
\usepackage{upquote}

Best Answer

I wouldn't use upquote generally as normally it's better to use the quotes designed for the font you are using. If your keyboard makes typing left and right quotes difficult I would use your editor to change

"text"

to

\mydoubleq{text}

and

'text'

to

\mysingleq{text}

Then you can define those commands as

\def\mydoubleq#1{``#1''}
\def\mysingleq#1{`#1'}

so then you never need to type any of the quote characters (you can cut and paste the definitions from this page so you don't need the keyboard to enter those either).