Wednesday, July 6, 2011

LaTeX package "listings" - for displaying code in LaTeX

This is a pretty cool package I came across while searching for a way to display Octave (MATLAB) code in a HW set using LaTeX to write it up. Did I mention I love LaTeX?!? I do. I really do. While others would disagree, LaTeX works well for short documents also. Anyways, listings is a pretty cool package as it has built recognition of many programming and code types. If it doesn't have the code type you are working with, you can define it yourself! I actually found out about it on Ubuntu Forums.

LaTeX and displaying code in document - http://ubuntuforums.org/showthread.php?t=439185

No comments:

Post a Comment