On Wednesday 20 May 2009 18:43:21 Edward Grefenstette wrote:
is there a LaTeX package out there that works well for presenting python code?

José Matos wrote:
Use the listings package. It has a python as one of defined languages and has lots of other options. http://www.ctan.org/tex-archive/macros/latex/contrib/listings/


The listings package is great and highly configurable.
Note that you can also input entire files of Python code
or pieces of them based on markers.  Really quite great.

Cheers,
Alan Isaac
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to