View previous topic :: View next topic |
Author |
Message |
derverstand Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Terminator/movie_the_terminator_machine.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
lateralus__ Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/6576668914470daab6da1d.png)
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 |
|
![](templates/gentoo/images/spacer.gif) |
|