What packages are you using for code representation / syntax highlighting in LATEX? "Verbatim" doesn't cut it, and I've had mixed results with the "lstlisting" package. Most of our code is written in Python, Bash, Perl but occasionally we chose do something special in pseudo-code and want to treat it like a formal language. For short turn around we have used custom color changing on each word we have wanted to change but this doesn't scale well/at-all.