Index of /macros/latex2e/contrib/lstaddons
      Name                    Last modified       Size  Description

[DIR] Parent Directory 11-Dec-2019 18:46 - [   ] lstaddons.ins 03-May-2012 20:59 1k [   ] lstautogobble.dtx 03-May-2012 20:59 10k [   ] lstautogobble.pdf 03-May-2012 20:56 179k [   ] lstlinebgrd.dtx 03-May-2012 20:59 9k [   ] lstlinebgrd.pdf 03-May-2012 20:59 208k

LaTeX bundle 'lstaddons'
Copyright (c) 2011-2012 by Martin Scharrer <>
Code repository:

This bundle contains a small collections of add-on packages for
the 'listings' package.
These packages patch internal macros to provide additional features
to 'listings'.

The add-ons are so far:

Provides 'linebackground' options for 'lstlisting' which
can be used to color the background of each line of the listing.
The use of conditionals which depend on the line number is supported,
which allows zebra-effects etc.

This package was originally written in response to the question
"Creating a zebra effect using listings"

Provides an 'autogobble=true|false' option for 'listing' which will set the
standard 'gobble' option to the indention of the first line. This allows
people to indent their listings code in the source file without having to 
use a suitable value for 'gobble' themselves.

This package was originally written in response to the question
"How to automatically skip leading white spaces in listings"

Run 'tex lstaddons.ins' to extract all package files.
Compile all .dtx files with pdflatex to produce the package manuals.
Copy the files to the following subdirectories of your TEXMF tree:

  *.sty         => tex/latex/lstaddons/
  *.dtx *.ins   => source/latex/lstaddons/
  *.pdf README  => doc/latex/lstaddons/

Finally update your TeX file list by running 'texhash' or similar tool.