generate LaTeX/TeX syntax highlighted code

David Eppstein eppstein at ics.uci.edu
Tue Jul 6 20:47:43 CEST 2004


In article <mailman.30.1089121896.5135.python-list at python.org>,
 John Hunter <jdhunter at ace.bsd.uchicago.edu> wrote:

> Are there any tools that can be used to process python code and
> generate LaTeX/TeX output with syntax highlighted code?

\usepackage{listings}

http://www.ctan.org/tex-archive/macros/latex/contrib/listings/

-- 
David Eppstein                      http://www.ics.uci.edu/~eppstein/
Univ. of California, Irvine, School of Information & Computer Science



More information about the Python-list mailing list