LaTeXing python programs

Tim Arnold tim.arnold at sas.com
Wed May 20 19:57:03 CEST 2009


"John Reid" <j.reid at mail.cryst.bbk.ac.uk> wrote in message 
news:mailman.458.1242842132.8015.python-list at python.org...
> Edward Grefenstette wrote:
>> I'm typing up my master's  thesis and will be including some of the
>> code used for my project in an appendix. The question is thus: is
>> there a LaTeX package out there that works well for presenting python
>> code?
>>
>> verbatim is a bit ugly and doesn't wrap code, and while there are a
>> plethora of code colouring packages out there, they are not all easy
>> to use, so I thought I might ask what the popular options in the
>> community are.
>
> pygments
>
and listings





More information about the Python-list mailing list