Ya, I tried the listing package too. It works just as fine, but then, i felt the alltt package was easier to use. Especially since listings is used to write code. Srikrishna