[OS X TeX] Algorithmic Quotes

Maarten Sneep maarten.sneep at xs4all.nl
Sat Mar 18 05:13:17 EST 2006

On 18 Mar 2006, at 5:55, Alex wrote:

> On Mar 17, 2006, at 05:28, William Adams wrote:
>> I loathe seeing an opening single quote used 'stead of an
>> apostrophe [...]
> ...As do all right-thinking men. I'm sorry I mentioned Word (it  
> wasn't my intention to have a LaTeX vs Word discussion). But is it  
> possible to have TeX do algorithmic quotes at all?

If you mean: can LaTeX work with typing “, ”, ‘, and ’ manually: yes.  
If you mean: can LaTeX figure out all by itself which one I want if I  
type " or ': no, and the reason should be obvious after carefully  
reading Williams post: there is not algorithm that can do this.

BTW, if you really want two single quotes in a row, you’ll have to  
break the ligature: '{}' ought to do this. A similar trick is needed  
when you need ”’: ''{}'

Maarten------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list