Talk:Write Yourself a Scheme in 48 Hours/LaTeX

code formatting issues
the code samples i've seen aren't monospaced. -- Sudozero (discuss • contribs) 19:36, 5 July 2014 (UTC)
 * it seems they use the listings package, macros and environments of that package start with \lst
 * by 2007 that package had many issues and was not maintained, although someone started to maintain the package some years after that year. By 2021 I tried it and seemed to work fine. It doesn't use monospaced fonts.
 * Verbatim can do a good job too. The listings package can be configured to replace every occurrence of a given string like  by   which is displayed as $$\alpha$$, and other symbols like   by   which is displayed as $$\circ$$, although   should be defined in a hidden part of the code to avoid the replacement of dots by $$\circ$$ in places like qualifiers, similar tricks should be done with other symbols to get the right replacement on every context.
 * Another problem in the book is that the code is inserted from snippets which are probably generated with some kind of Knuth's Web program. I don't know how to download the original source code with program code in the place where it goes, not that with the snippet insertion macro. It is relatively easy to use an script to apply the right changes o improve it.