Welcome to the UK List of
TeX Frequently Asked Questions
on the Web

Searching

The index of Frequently Asked Questions about TeX is searchable.

Please enter your keyword here:   then press here: ,    or:
Google

Realistic quotes for verbatim listings

The cmtt font has “curly” quotes, which are pleasing on the eye, but don’t really tally with what one sees on a modern xterm.

The appearance of these quotes is critical in program listings, particularly in those of Unix-like shell scripts. The upquote package modifies the behaviour of the verbatim environment so that the output is a clearer representation of what the user must type.

upquote.sty
macros/latex/contrib/upquote/upquote.sty; catalogue entry


Go to previous question, or next question

Go to FAQ home.

URL for this question: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=upquot

Comments, suggestions, or error reports? - see “how to improve the FAQ”.

This is FAQ version 3.27, released on 2013-06-07.