emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Request for suggestions including source code


From: Robert Goldman
Subject: Re: [O] Request for suggestions including source code
Date: Wed, 04 May 2011 19:11:19 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

On 5/4/11 May 4 -6:10 PM, Nick Dokos wrote:
> Robert Goldman <address@hidden> 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 to match char-width, fix the char-width to match the
>> source code.  Any idea how to do that?
>>
> 
> Here is one possibility: create a verbfont.sty file like this:
> 
> --8<---------------cut here---------------start------------->8---
> \makeatletter
> address@hidden
> \makeatother
> --8<---------------cut here---------------end--------------->8---
> 
> and add this to your org file:
> 
> --8<---------------cut here---------------start------------->8---
> #+LATEX_HEADER: \usepackage{verbfont}
> --8<---------------cut here---------------end--------------->8---
> 
> Instead of \scriptsize, you can use any of the ones defined in
> size1X.clo (for some X). If you use \tiny, you should package a
> magnifier with the book...


Thank you!  That was just /exactly/ what I needed.  The listings
approach seems neat for other cases, but mine is a simpler solution and
this nails it.

Best,
R



reply via email to

[Prev in Thread] Current Thread [Next in Thread]