listing – Produce formatted program listings
The listing environment is provided and is similar to figure and table, although it is not a floating environment. Includes support for \caption, \label, \ref, and introduces \listoflistings, \listingname, \listlistingname. It produces a .lol file. It does not change \@makecaption (unless the option bigcaptions is used), so packages that change the layout of \caption still work.
The LaTeX Project Public License
|Copyright||1994,1996,1999 Matthew Hebley, Volker Kuhlmann
Matthew Hebley (inactive)
|Contained in||TeX Live as listing|
|MiKTeX as listing|
computer code listing
Download the contents of this package in one zip archive (254.3k).
Maybe you are interested in the following packages as well.
- gincltex: Include TeX files as graphics (.tex support for \includegraphics)
- pythonhighlight: Highlighting of Python code, based on the listings package
- lstaddons: Add-on packages for listings: autogobble and line background
- documentation: Documentation support for C, Java and assembler code