Re: [O] Request for suggestions including source code

2011-05-05 Thread Eric Schulte
Robert Goldman writes: > On 5/4/11 May 4 -5:23 PM, Thomas S. Dye wrote: >> >> On May 4, 2011, at 11:59 AM, Robert Goldman wrote: >> >>> On 5/4/11 May 4 -4:13 PM, Thomas S. Dye wrote: Aloha Robert, Have a look at the listings and minted packages. You can specify font size on

Re: [O] Request for suggestions including source code

2011-05-04 Thread Robert Goldman
On 5/4/11 May 4 -6:10 PM, Nick Dokos wrote: > Robert Goldman wrote: > >> On 5/4/11 May 4 -4:44 PM, Nick Dokos wrote: >> So what I need now is some way to fix the verbatim environments that are >> produced by org-mode to use a smaller font. I.e., instead of trying to >> fix the source code t

Re: [O] Request for suggestions including source code

2011-05-04 Thread Nick Dokos
Robert Goldman wrote: > On 5/4/11 May 4 -4:44 PM, Nick Dokos wrote: > > > So there you have it: a frivolous exercise, almost completely OT for the > > list and an almost useless answer[fn:1]. > > This actually was pretty helpful. The problem is, of course, that I > can't rewrite all of my sour

Re: [O] Request for suggestions including source code

2011-05-04 Thread brian powell
* Literate Programming and CWEB/NOWEB work great. ** Could use \scriptsize and/or \tiny and set the margins to 0--this is what I do: \documentclass[10pt]{report} \pagestyle{empty} \usepackage{anysize} \marginsize{0cm}{0cm}{0cm}{0cm} \begin{document} \tiny \begin{verbatim} BlahSourceCode \end{ve

Re: [O] Request for suggestions including source code

2011-05-04 Thread Robert Goldman
On 5/4/11 May 4 -5:23 PM, Thomas S. Dye wrote: > > On May 4, 2011, at 11:59 AM, Robert Goldman wrote: > >> On 5/4/11 May 4 -4:13 PM, Thomas S. Dye wrote: >>> Aloha Robert, >>> >>> Have a look at the listings and minted packages. You can specify font >>> size on a per-document or per-language bas

Re: [O] Request for suggestions including source code

2011-05-04 Thread Thomas S. Dye
On May 4, 2011, at 11:59 AM, Robert Goldman wrote: On 5/4/11 May 4 -4:13 PM, Thomas S. Dye wrote: Aloha Robert, Have a look at the listings and minted packages. You can specify font size on a per-document or per-language basis. I believe listings has an option to wrap long lines (don't

Re: [O] Request for suggestions including source code

2011-05-04 Thread Robert Goldman
On 5/4/11 May 4 -4:44 PM, Nick Dokos wrote: > Tom provides the practical answers, I go for the frivolous ones :-) : the > following > latex program will give you the text width of the page: > > --8<---cut here---start->8--- > \documentclass{article} > > \begi

Re: [O] Request for suggestions including source code

2011-05-04 Thread Robert Goldman
On 5/4/11 May 4 -4:13 PM, Thomas S. Dye wrote: > Aloha Robert, > > Have a look at the listings and minted packages. You can specify font > size on a per-document or per-language basis. I believe listings has an > option to wrap long lines (don't remember this for minted, though). > > The instr

Re: [O] Request for suggestions including source code

2011-05-04 Thread Nick Dokos
Thomas S. Dye wrote: > Aloha Robert, > > Have a look at the listings and minted packages. You can specify font size > on a per-document or per-language basis. I believe listings has an option to > wrap long lines (don't remember this for minted, though). > > The instructions here might be

Re: [O] Request for suggestions including source code

2011-05-04 Thread Thomas S. Dye
Aloha Robert, Have a look at the listings and minted packages. You can specify font size on a per-document or per-language basis. I believe listings has an option to wrap long lines (don't remember this for minted, though). The instructions here might be helpful: http://orgmode.org/worg/

[O] Request for suggestions including source code

2011-05-04 Thread Robert Goldman
I have a document that has big chunks of included source code. Unfortunately, when this is typeset in LaTeX, it typically blows past the right margin. I find it quite difficult to determine how many characters I get in a monospace line in LaTeX, and it seems like LaTeX won't give me enough to fit