CTAN Comprehensive TeX Archive Network

upquote – Show "realistic" quotes in verbatim

Typewriter-style fonts are best for pro­gram list­ings, but Com­puter Modern Typewriter prints ` and ' as bent open­ing and clos­ing sin­gle quotes. Other fonts, and most pro­gram­ming lan­guages, print ` as a grave ac­cent and ' up­right; ' is used both to open and to close quoted strings.

The pack­age switches the type­writer font to Com­puter Modern Typewriter in OT1 en­cod­ing, and mod­i­fies the be­haviour of ver­ba­tim, ver­ba­tim*, \verb, and \verb* to print in the “` and ' way”. It does this­re­gard­less of other fonts or en­cod­ings in use, so long as the pack­age is loaded af­ter the other fonts were.

The pack­age does not af­fect \tt, \texttt, etc.

Li­censesThe Project Public Li­cense 1.2
Main­tainerMarkus Kuhn
Frank Mit­tel­bach
Michael Cov­ing­ton (in­ac­tive)
Con­tained inTeX Live as up­quote
MiKTeX as up­quote

Down­load the con­tents of this pack­age in one zip archive (162.8k).

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author