CTAN Comprehensive TeX Archive Network

CTAN update: listings

Datum: 7. September 2014 15:29:51 MESZ
Jobst Hoffmann submitted an update to the listings package. Version number: 1.5e License type: lppl1.3 Summary description: Typeset source code listings using LaTeX. Announcement text:
Version 1.5e: one more minor maintenance release with some corrections and several new features: * added missing keywords for shell programs * added additional keywords for C++11, based on ISO C++ * added keywords for Scala
This package is located at http://mirror.ctan.org/macros/latex/contrib/listings More information is at http://www.ctan.org/pkg/listings We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Manfred Lotz

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).

Paketlistings
Version1.10a
Copyright1996–2004 Carsten Heinz
2006–2007 Brooks Moses
2013–2024 Jobst Hoffmann
BetreuerJobst Hoffmann
Carsten Heinz (inaktiv)
Brooks Moses (inaktiv)

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren