I see many wonderful papers where the authors include some script written in Maple, Macaulay or other software that are needed for their proof. How do you insert that in your tex file?



Inserting maple or macaulay script in a paper
For a lot of languages, [lgrind](http://www.ctan.org/pkg/lgrind) gives nice results, but it is no longer maintained and a bit long in the tooth. The [listings](http://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings) package is a bit more modern.


