[texhax] Presenting Programming Code

Nick Bailey n.j.bailey at elec.gla.ac.uk
Wed Jun 4 15:05:58 CEST 2008

On Wednesday 04 June 2008 13:43:32 PR Stanley wrote:
> Hi
> Could the list recommend a nice clean way of including programming
> code - e.g. C, C++, PHP etc. - in a Latex document with all the
> indentations kept intact?
> Many thanks
> Paul

What about lagrind? http://www.ifi.uio.no/it/latex-links/lgrind.pdf

It has given me some problems with indents in the past, particularly comments, 
but that's often down to how my text editor represents the indents.


More information about the texhax mailing list