Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Include source code in LaTeX documents?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
derverstand
Guru
Guru


Joined: 15 Dec 2005
Posts: 511
Location: /dev/null

PostPosted: Tue Aug 29, 2006 1:10 pm    Post subject: Include source code in LaTeX documents? Reply with quote

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
View user's profile Send private message
lateralus__
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2006
Posts: 100
Location: Belgium

PostPosted: Tue Aug 29, 2006 3:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum