slatex_scheme – A pretty-printer for Scheme code in TeX documents
SLaTeX is a Scheme program that allows you to write programs or program fragments ‘as is’ in your TeX or LaTeX source. It is particularly geared to the programming languages Scheme and other Lisp dialects, such as Common Lisp. The formatting of the code includes assigning appropriate fonts and colors to the various tokens in the code (keywords, variables, constants, data), at the same time retaining the proper indentation when going to the non-monospace (non-typewriter) fonts provided by TeX.
GNU Library General Public License
computer code listing
Maybe you are interested in the following packages as well.
- tinyc2l: Pretty print C/C++/Java source code using LaTeX
- lgrind: Produce beautiful listings of source code with LaTeX
- pythonhighlight: Highlighting of Python code, based on the listings package
- examplep: Verbatim phrases and listings in LaTeX