Another alternative is to simply use LyX (www.lyx.org), which is a WYSIWYG (graphical) front-end for LaTeX. There's an "code" environment where you can paste everything right in, and it'll show in your PDF output exactly as it appears while editing.
Also, not an answer to your question, but you might also want to check out xtable (http://cran.r-project.org/src/contrib/Descriptions/xtable.html), which allows R to output LaTeX that can be pasted into your .tex file. On 1/15/07, Tim Calkins <[EMAIL PROTECTED]> wrote: > > Consider using the fancyvrb package if you need additional customization. > > On 1/16/07, Benjamin Dickgiesser <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I am planning on putting some R script in an appendix of a LaTex > > document. Can anyone recommend me a way of how to format it? Is there > > a way to keep all line breaks without having to insert \\ in every > > single line? > > > > Thank you! > > Benjamin > > > > ______________________________________________ > > [email protected] mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > > -- > Tim Calkins > 0406 753 997 > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Ubuntu Linux 6.06 (Dapper Drake) [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
