Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

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.

Sources/macros/latex/contrib/upquote
Doc­u­men­ta­tion
Ver­sionv1.3
Li­censeThe LaTeX Project Public Li­cense 1.2
Copy­right2003 Michael A. Cov­ing­ton, Frank Mit­tel­bach
Main­tainerMichael Cov­ing­ton (in­ac­tive)
Frank Mit­tel­bach
Markus Kuhn
Con­tained inTeXLive as up­quote
MiKTeX as up­quote
Topics ver­ba­tim type­set­ting, etc.

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

Guest Book Sitemap Contact 2014-04-20 07:46 CEST