Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

Direc­tory tex-archive/macros/latex/contrib/upquote

upquote -- upright-quote and grave-accent glyphs in verbatim

Authors: Michael A. Covington, Frank Mittelbach, Markus G. Kuhn

Released under the LaTeX Project Public License v1.3c or later
See http://www.latex-project.org/lppl.txt

This upquote.sty LaTeX package changes the glyphs used by the \verb
and \verb* macros and the "verbatim" and "verbatim*" environments for
ASCII characters 27 and 60 to the "upright quotation mark" and "grave
accent" ones required by Unicode, ISO 646, ISO 10646, and many other
character set standards. This is particularly useful for typesetting
software source code.

Files

Name Size Date Notes
README 602 2012-04-05 05:50
upquote.dtx 4913 2012-04-19 07:10
upquote.ins 424 2012-04-05 05:10
upquote.pdf 172534 2012-04-19 07:15
upquote.sty 1048 2012-04-19 07:15

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

up­quote – Show "re­al­is­tic" quotes in ver­ba­tim

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.

Pack­age De­tailsup­quote
Ver­sionv1.3
Li­censeThe LaTeX Project Public Li­cense 1.2
Copy­right2003 Michael A. Cov­ing­ton, Frank Mit­tel­bach
Main­tainerMarkus Kuhn
Michael Cov­ing­ton (in­ac­tive)
Frank Mit­tel­bach
Con­tained inTeXlive as up­quote
MikTeX as up­quote
Topics ver­ba­tim type­set­ting, etc.
Guest Book Sitemap Contact