I often produce program listings in my LaTeX documents. I use the
verbatim environment but use commands such as
\addtolength{\oddsidemargin}{-0.95in}
\addtolength{\evensidemargin}{-0.95in}
to widen the printed page so that I do not have to resort to line
continuation characters. This method
At 14:12 15/01/2007, Frank E Harrell Jr wrote:
Benjamin Dickgiesser 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?
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
__
Benjamin Dickgiesser 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
Here's one way and
On Jan 15, 2007, at 8:42 AM, Benjamin Dickgiesser 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?
I think the
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
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