[texhax] verbatim functionality with normal font spacing

E. Krishnan ekmath at asianetindia.com
Mon May 23 09:04:06 CEST 2005


On Sun, 22 May 2005, Joey Coyle wrote:

> I want to type the follow
> 
> /begin{somePackage}
> <foo>
> 	<bar>Hello world</bar>
> </foo>
> /end{somePackage}
> 
> 
> The output I would like.
> 1.) Line numbers on the left
> 2.) A frame
> 3.) Three lines as I typed them
> 4.) An indent on the second line as I typed
> 5.) Uses nice font, with tight spacing instead of space robbing column 
> preserving typewriter format.

All this (and more) can be done using the "fancyvrb" package. Pleae have a 
look at the documentation "fancyvrb.ps" 

-- 
Krishnan



More information about the texhax mailing list