[OS X TeX] Two missing characters

Don Green Dragon fergdc at shaw.ca
Mon Jan 28 20:48:05 CET 2013


Hello Herb,

On 21Jan2013, at 4:57 PM, Herbert Schulz wrote:

> 
> On Jan 21, 2013, at 5:47 PM, Don Green Dragon <fergdc at Shaw.ca> wrote:
> 
>> Hi All,
>> 
>> The following has been puzzling me for a long time. There are two characters that I am unable get TeXShop/TeX to produce correctly on a preview page. They are
>> 
>> straight single quote ' 
>> straight double quote "
>> 
> <<snip>>
> 
> Howdy,
> 
> It's certainly not TeXShop! I'd assume that the inputenc package set for utf8 is translating the ' and " into ’ and ” which is standard behavior for LaTeX (and Plain TeX too I believe). Ordinarily you would use ' and " only in typewriter or verbatim and \texttt{'} and \texttt{"} and \verb|'| and \verb|"| seem to work fine.
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)

Here, your suggestions do not work very well. In each case, except one, I still obtain the 'curly' versions on the preview page.

I tried them out with two templates. 

First, the one that comes with TeXShop called LaTeXtemplate which starts with \documentclass[11pt]{amsart}. Got the same curly guys when \documentclass[11pt]{amsart} was changed to \documentclass[11pt]{book}.

Second, I tried your suggestions with my basic template, which is of the \documentclass[11pt]{book} variety, and found

\texttt{'} produced the curly version
\texttt{''} produced an acceptable version of straight double quote  !?!?!?!?

Neither \verb#'# nor \verb#''# worked and I got the curly guys.

I'm not sure about the following, but I'll record it anyway. The way TeXShop is set up, I cannot get the character "straight double quote" to appear even in the source code. While working in the source, when the key for the character " is depressed, then 

``''
appears where " is actually the string

<straight single quote><straight single quote>		!not including the < and > guys

I know that this is because of some key binding which you have set up, and which is most useful, most of the time.

At this point, I'm undecided whether to use the solution  given by Ettore or by  Tim.  ;--)  Actually, the glyph that I get with Tim's delightfully simple $"$ is more professional looking than the one obtained with \textquotedbl.

Anyway, thank you for the great work you have done with TeXShop which, for me, is an absolutely marvellous front end.


Don Green Dragon
fergdc at Shaw.ca






More information about the macostex-archives mailing list