View previous topic :: View next topic |
Author |
Message |
derverstand Guru
Joined: 15 Dec 2005 Posts: 511 Location: /dev/null
|
Posted: Tue Aug 29, 2006 1:10 pm Post subject: Include source code in LaTeX documents? |
|
|
Hi,
How can I include source code in a latex document like it is done in all of the OReilly books? There was a command like \plain{}. But I don't remember it...
Best regards. |
|
Back to top |
|
|
lateralus__ Tux's lil' helper
Joined: 19 May 2006 Posts: 100 Location: Belgium
|
Posted: Tue Aug 29, 2006 3:25 pm Post subject: |
|
|
Hi,
The 'listings' package is what you are looking for.
The package is already installed with a standard tetex install.
You can find the manual here : ftp://ftp.inria.fr/pub/TeX/CTAN/macros/latex/contrib/listings/ _________________ There are a lot of lies going around.... and half of them are true.
-- Winston Churchill |
|
Back to top |
|
|
|