Blog: LaTeX: calling a macro for every line of input. How to call a LaTeX macro for every line in an environment? … read more
By Jochen Voss, on
A while ago I finished my first home-made LaTeX package. The new package is called "jvlisting" and provides a replacement for LaTeX's verbatim environment.
This package provides the LaTeX environment
alternative to the built-in
verbatim environment. The
listing environment is specially taylored for including
listings of computer program source code into documents. The main
advantages over the original
verbatim environment are that
listingenvironment automatically fixes leading whitespace so that the environment and program listing can be indented with the rest of the document source, and
listingenvironments may easily be customised and extended.
You can download the package and its documentation from
my webserver or from the
jvlisting page at the
Common TeX Archive Network (CTAN). I'd be happy if you could give my
package a try. Comments about
jvlisting are very welcome!
This is an excerpt from Jochen's blog.
Newer entry: watching DVDs on an Apple iPad
Older entry: LaTeX: calling a macro for every line of input
Copyright © 2011, Jochen Voss. All content on this website (including text, pictures, and any other original works), unless otherwise noted, is licensed under a Creative Commons Attribution-Share Alike 3.0 License.