'diff()) well. So, how to include listings of Maxima code in Latex?
It turns out to be really easy to define your own language in the preamble of the document.
All this definition does is italicize comments and bold face the keywords, which is sufficient to make the code more readable and pleasant looking. Here's an example screenshot of the results: