The TeX Catalogue Online

Search | Home | Alpha | Brief | Topical | Hierarchical


listings Typeset source code listings using LaTeX.

Typeset programs (programming code) within LaTeX. The source code is read directly by TeX. Keywords, comments and strings can be typeset using different styles (default is bold for keywords, italic for comments and no special style for strings). Includes support for hyperref. To use, simply \usepackage{listings}, identify the language with \lstset{language=Python}, then employ the \begin{lstlisting} ... \end{lstlisting} environment or the \lstinputlisting{filename.py} command. The author is Carsten Heinz. See also listing.

License: lppl Version: 1.3 Updated: 2003-09-07

Copyright (c) 1986-2004 .   This page was generated 2004-11-03 01:39:06.