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.
- listing: Produce formatted program listings
- c-pascal: Typeset Python, C and Pascal programs
- webfiles: Include CWEB and/or Spidery WEB LaTeX
- pythonhighlight: Highlighting of Python code, based on the listings package