You will want to use the listings package for this. http://www.ctan.org/tex-archive/macros/latex/contrib/listings/listings.pdf
--- Melanie Gross <[EMAIL PROTECTED]> wrote: > Hi, > > I have inserted an appendix in my file which should > contain some > programs that I have written. I have inserted the > files but they do not > look good because all lines which should be indented > e.g. after > if-instructions are not indented anymore. Is there a > way to keep the > layout of the program? > > Thank you, > Melanie > __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover