slatex_scheme – A pretty-printer for Scheme code in TeX documents

SLaTeX is a Scheme pro­gram that al­lows you to write pro­grams or
pro­gram frag­ments ‘as is’ in your TeX or LaTeX
source. It is par­tic­u­larly geared to the pro­gram­ming lan­guages
Scheme and other Lisp di­alects, such as Com­mon Lisp. The
for­mat­ting of the code in­cludes as­sign­ing ap­pro­pri­ate fonts and
col­ors to the var­i­ous to­kens in the code (key­words, vari­ables,
con­stants, data), at the same time re­tain­ing the proper
in­den­ta­tion when go­ing to the non-monospace (non-type­writer) fonts
pro­vided by TeX.