CTAN Comprehensive TeX Archive Network

Verzeichnis macros/latex/contrib/listings

README
Listings package

Copyright 1996--2004 Carsten Heinz (the package)
Copyright 1996--2007 individual authors (language drivers)
Copyright 2006--2007 Brooks Moses (continued maintenance)
Copyright 2013--     Jobst Hoffmann (continued maintenance)

Released under the LaTeX Project Public License 1.3c 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.

Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (3.3M).

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
LizenzenThe Project Public License 1.3c
Copyright1996–2004 Carsten Heinz
2006–2007 Brooks Moses
2013–2024 Jobst Hoffmann
BetreuerJobst Hoffmann
Carsten Heinz (inaktiv)
Brooks Moses (inaktiv)
Enthalten inTeX Live als listings
MiKTeX als listings
ThemenSyntax-Highlighting
Makro-Demonstration
Listings
Verbatim
Siehe auchlisting
...
Gästebuch Seiten-Struktur Impressum Autor kontaktieren