[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: need typewriter-style quotes in LaTeX mode of emacs



* Tyler Smith <tyler.smith@mail.mcgill.ca> [070524 19:49]:
> On 2007-05-25, Russell L. Harris <rlharris@oplink.net> wrote:
>>  While in LaTeX mode in XEmacs, I frequently have need for
>>  typewriter-style double quotes ("), such as when I am in the verbatim
>>  environment
>> 
>>  But I do not know of a way to type the character without switching
>>  from LaTeX mode to text mode.
> 
> There is another way to do this. It is a closely guarded secret, but
> I'll share it with you if you promise not to tell anyone else. Here it
> is:
>     hit the " key
>     hit the " key _a second time_

The XEmacs implementation which I am running appears to differ from
the implementation which you are running.

When in LaTeX mode, the first press of " produces a contiguous pair of
single left-quotes: `` and the second press of " produces a contiguous
pair of single right-quotes: ''

But this is a standard feature of Emacs/XEmacs LaTeX mode which most
of us take for granted, because in most applications printer's quotes
are desired, and pressing " at the beginning and end of the quotation
is easier than pressing ` twice and the beginning and ' twice at the
end.  

RLH



Reply to: