Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
Hello all, A quick update. Only the named block solution from Jay Kerns currently works. I have tried out variants of other proposed solutions here but none worked. Thanks for your help and sorry for the delay in getting back on this one. Shripad. Shripad Tucson, AZ Shripad Tucson, AZ On Wed,

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread John Hendy
On Wed, Apr 17, 2013 at 9:46 PM, shripad sinari shripad.sin...@gmail.com wrote: Hello all, A quick update. Only the named block solution from Jay Kerns currently works. I have tried out variants of other proposed solutions here but none worked. Thanks for your help and sorry for the delay in

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
Hello John, I have tried this with text but it does not seem to resize the text. Infact what gets resized is the #+RESULTS: test and the rest of the stuff after that to the #+end_center. It might work for images but does not for text. Regards, Shripad. Shripad Tucson, AZ On Wed, Apr 17, 2013 at

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread Eric Schulte
Hello all, A quick update. Only the named block solution from Jay Kerns currently works. I have tried out variants of other proposed solutions here but none worked. One option I used recently was to resize *all* verbatim blocks using the fancyvrb package. The following export filter converts

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
Hello John, I am able to get your test.org to do size change but not my test file. Please find it attached herewith. I am sure it is setup issue now. Thanks, Shripad. Shripad Tucson, AZ On Wed, Apr 17, 2013 at 8:53 PM, John Hendy jw.he...@gmail.com wrote: On Wed, Apr 17, 2013 at 10:43 PM,

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
Hello John, I think I figured out what the issue is. Whenever I have the code chunks outside a headline for example: ### This does not work ### #+TITLE: *scratch* #+AUTHOR:Shripad Sinari #+DATE: 2013-04-17 Wed #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:6 num:t toc:t

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread John Hendy
On Wed, Apr 17, 2013 at 10:57 PM, shripad sinari shripad.sin...@gmail.com wrote: Hello John, I am able to get your test.org to do size change but not my test file. Please find it attached herewith. I am sure it is setup issue now. Thanks, Shripad. I may have confused you. Your file contains

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
Thanks John, But I have corrected the width attribute to the correct \tiny in my latest file. It was a bit too fast copy and paste error. Regards, Shripad Tucson, AZ On Wed, Apr 17, 2013 at 9:18 PM, John Hendy jw.he...@gmail.com wrote: On Wed, Apr 17, 2013 at 10:57 PM, shripad sinari

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-04-17 Thread shripad sinari
Thanks! Shripad Tucson, AZ On Wed, Apr 17, 2013 at 9:25 PM, John Hendy jw.he...@gmail.com wrote: It works correctly for me (see attached). Make sure your buffer is exactly as shown below (:width 20cm - \tiny is not the only change. You also need to change #+attr_latex - #+latex). #+NAME:

[O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-03-18 Thread shripad sinari
Hello all, Is there a way to scale the text in the latex export of a results block produced by a code chunk? Here is the code chunk i am trying to evaluate and export: #+BEGIN_SRC R :session :exports results :results output org replace :tangle yes print(list.files(recursive = T, pattern =

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-03-18 Thread Jay Kerns
Hello Shripad, On Mon, Mar 18, 2013 at 7:44 PM, shripad sinari shripad.sin...@gmail.com wrote: [snip] Is there a way for me to define the scaling of the text within the results block when this is exported using latex? [snip] I don't know of a way to scale /within/ the code block, but does

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-03-18 Thread Eric Abrahamsen
shripad sinari shripad.sin...@gmail.com writes: Hello all, Is there a way to scale the text in the latex export of a results block produced by a code chunk? Here is the code chunk i am trying to evaluate and export: #+BEGIN_SRC R :session :exports results :results output org replace :

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-03-18 Thread Thomas S. Dye
Jay Kerns gjkerns...@gmail.com writes: I don't know of a way to scale /within/ the code block, but does this work instead? #+NAME: foo #+BEGIN_SRC R :session :exports results :results output org replace :tangle yes cat(\\scriptsize) print(list.files(recursive = T, pattern = *.xls*))

Re: [O] scaling the text in the results block of some code chunk when exported using LaTeX

2013-03-18 Thread shripad sinari
Thanks you all for the suggestions! Let me try out the suggestions and I will report back on what worked. Thanks again! Shripad. Shripad Tucson, AZ On Mon, Mar 18, 2013 at 6:07 PM, Thomas S. Dye t...@tsdye.com wrote: Jay Kerns gjkerns...@gmail.com writes: I don't know of a way to scale