Directory tex-archive/macros/latex/contrib/listings
Listings package Copyright 1996--2004 Carsten Heinz (the package) Copyright 1996--2007 individual authors (language drivers) Copyright 2006--2007 Brooks Moses (continued maintenance) Released under the LaTeX Project Public License 1.3 or later The `listings' package is a source code printer for LaTeX. You can typeset stand alone files as well as listings with an environment similar to `verbatim' as well as you can print code snippets using a command similar to \verb'. Many parameters control the output and if your preferred programming language isn't already supported, you can make your own definition.
Files
| Name | Size | Date | Notes |
|---|---|---|---|
Makefile |
965 | 2007-03-12 05:43:00 | |
README |
611 | 2007-02-28 02:39:00 | |
listings.dtx |
629222 | 2007-03-01 10:24:00 | |
listings.ind |
14410 | 2007-02-28 02:39:00 | |
listings.ins |
1131 | 2007-02-28 02:39:00 | |
listings.pdf |
715954 | 2007-02-28 02:39:00 | |
lstdrvrs.dtx |
297664 | 2007-03-01 10:26:00 |
Download the complete
contents of this directory in one zip archive
(760.6k).
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. Short (in-line) listings are also available, using either \lstinline|...| or | ... | (after defining the | token with the \lstMakeShortInline command).
| Documentation |
Package Readme Package documentation |
| Version | 1.4 |
| License | The LaTeX Project Public License |
| Copyright | 2006,2007 Brooks Moses |
| Maintainer | Brooks Moses Carsten Heinz (inactive) |
| Contained in | TeXLive as listings |
| MiKTeX as listings | |
| Topics |
code listing, syntax highlighting highlight syntax of computer code, etc. |
| See also |
listing |
