[texhax] Latin modern typewriter font and single quotes

James Smith james.smith at aleph-one.com
Sun Jan 6 00:55:33 CET 2008


Hey all,

got it, a rare triumph. Article here...

http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html

Great stuff! Somewhere in there there's a link to here:

http://www.tex.ac.uk/tex-archive/macros/latex/contrib/upquote/upquote.st
y

+++

\RequirePackage{textcomp}

\begingroup
\catcode`'=\active               
\catcode``=\active               
\g at addto@macro\@noligs
   {\let`\textasciigrave
    \let'\textquotesingle}
\endgroup

+++

And \usepackage{upquote} loads fine and does indeed allow me to use the
apostrophe 0027 in my verbatims. The package was written for CModern but
works for LModern, too, with and without T1 encoding.

Thanks all for your help.

Kind regards,

James



More information about the texhax mailing list