CTAN Comprehensive TeX Archive Network

CTAN Up­date: up­quote

Date: April 9, 2012 4:17:23 PM CEST
On Thu, 5 Apr 2012 Markus Kuhn sub­mit­ted an up­date to the up­quote pack­age. Sum­mary de­scrip­tion: up­right-quote and grave-ac­cent glyphs in ver­ba­tim Li­cense type: lppl An­nounce­ment text:
The up­quote.sty LaTeX pack­age changes the glyphs used by the \verb and \verb* macros and the "ver­ba­tim" and "ver­ba­tim*" en­vi­ron­ments for ASCII char­ac­ters 27 and 60 to the "up­right quo­ta­tion mark" and "grave ac­cent" ones re­quired by Uni­code, ISO 646, ISO 10646, and many other char­ac­ter set stan­dards. This is par­tic­u­larly use­ful for type­set­ting soft­ware source code. The pre­vi­ous ver­sion 1.1 al­ways used the textcomp pack­age to pro­duce the de­sired glyphs, which can trig­ger un­de­sired side ef­fects (use of tctt bitmap font). This new ver­sion 1.2 does not load any ad­di­tional fonts as long as the de­fault cmtt font is used in its orig­i­nal OT1 en­cod­ing. Only if the de­fault font en­cod­ing or the tt font are changed, then textcomp.sty is loaded and used to se­lect the re­place­ment glyphs, as be­fore. Ben­e­fit: the re­place­ment glyphs come again by de­fault all from cmtt, elim­i­nat­ing the un­nec­es­sary use of ad­di­tional T1 fonts, which may ex­ist only as bitmaps, may come with worse Type1 hint­ing, or cause other print­ing prob­lems. There is now also PDF doc­u­men­ta­tion.
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/la­tex/con­trib/up­quote . More in­for­ma­tion is at http://www.ctan.org/pkg/up­quote (if the pack­age is new it may take a day for that in­for­ma­tion to ap­pear). We are sup­ported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/user­groups.html .
Thanks for the up­load. For the CTAN Team Rainer Schöpf

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­ageup­quote
Ver­sion1.3
Main­tainerMarkus Kuhn
Frank Mit­tel­bach
Michael Cov­ing­ton (in­ac­tive)

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author