CTAN Comprehensive TeX Archive Network

ctan update: listings

Date: September 3, 2013 10:39:13 AM CEST
the daemon reports: > Name of contribution: listings > Author's name: Jobst Hoffmann > Package version: Version v1.5b > Location on CTAN: /macros/latex/contrib/listings/ > Summary description: Typeset source code listings using LaTeX. > License type: lppl > > Announcement text given by the package's contributor: > ---------------------------------------------------------------------- > Version 1.5b: another minor maintenance release with two features: > > * made a (incompatible) change in the Python definition > - docstrings are now formatted as strings and not as > comment - and added Python built-ins and more types. > of docstrings (raw and Unicode) > > * added files which can be used as preferences > > ---------------------------------------------------------------------- > > Announcement required: Yes > > Users may view the package catalogue entry at > http://www.ctan.org/pkg/listings > or they may browse the package directory at > http://mirror.ctan.org/macros/latex/contrib/listings/ thanks for the upload; i've installed the new version, and updated the catalogue repository. Robin Fairbairns For the CTAN team

listings – Typeset source code listings using

The package enables the user to typeset programs (programming code) within ; the source code is read directly by —no front-end processor is needed. Keywords, comments and strings can be typeset using different styles (default is bold for keywords, italic for comments and no special style for strings). Support for hyperref is provided.

To use, \usepackage{listings}, identify the language of the object to typeset, using a construct like: \lstset{language=Python}, then use environment lstlisting for inline code. External files may be formatted using \lstinputlisting to process a given file in the form appropriate for the current language. Short (in-line) listings are also available, using either \lstinline|...| or |...| (after defining the | token with the \lstMakeShortInline command).

Packagelistings
Version1.10a
Copyright1996–2004 Carsten Heinz
2006–2007 Brooks Moses
2013–2024 Jobst Hoffmann
MaintainerJobst Hoffmann
Carsten Heinz (inactive)
Brooks Moses (inactive)

Announcements

more

Guest Book Sitemap Contact Contact Author