[texhax] Presenting Programming Code

Dan Hatton vi5u0-texhax at yahoo.co.uk
Wed Jun 4 16:07:33 CEST 2008


On Wed, 4 Jun 2008, PR Stanley wrote:

> 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?

You could try the \verbatiminput{} command, from the verbatim package.

-- 

HTH,

Dan Hatton

<http://www.bib.hatton.btinternet.co.uk/dan/>


More information about the texhax mailing list