> On May 20, 10:10 pm, John Reid wrote:
>> Alan G Isaac wrote:
>> > 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.
>>
>> I tried listings. I believe pygments makes
Edward Grefenstette wrote:
I'm trying to figure out how to use pygments. Are there any good usage
examples out there?
The documentation worked for me: http://pygments.org/docs/cmdline/
There is also a LaTeX package to call pygments at latex compilation time
I forget what that is called thou
"John Reid" wrote in message
news:mailman.458.1242842132.8015.python-l...@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
On May 20, 10:10 pm, John Reid wrote:
> Alan G Isaac wrote:
> > 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.
>
> I tried listings. I believe pygments makes better for
Alan G Isaac wrote:
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.
I tried listings. I believe pygments makes better formatted output (at
least out of the box).
--
http:
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/
On Wednesday 20 May 2009 18:43:21 Edward Grefenstette wrote:
> Yes, I am aware that this is more of a LaTeX question than a python
> question, but I thought users here might be most likely to offer a
> suitable recommendation.
>
> I'm typing up my master's thesis and will be including some of the
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 the
Yes, I am aware that this is more of a LaTeX question than a python
question, but I thought users here might be most likely to offer a
suitable recommendation.
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
ther