From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Kerns Subject: Re: scaling the text in the results block of some code chunk when exported using LaTeX Date: Mon, 18 Mar 2013 20:26:29 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHkOC-0006W2-JZ for emacs-orgmode@gnu.org; Mon, 18 Mar 2013 20:26:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHkOB-00049r-IK for emacs-orgmode@gnu.org; Mon, 18 Mar 2013 20:26:52 -0400 Received: from mail-wg0-f54.google.com ([74.125.82.54]:42623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHkOB-00048h-C8 for emacs-orgmode@gnu.org; Mon, 18 Mar 2013 20:26:51 -0400 Received: by mail-wg0-f54.google.com with SMTP id fm10so5633103wgb.9 for ; Mon, 18 Mar 2013 17:26:50 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: shripad sinari Cc: emacs-orgmode@gnu.org Hello Shripad, On Mon, Mar 18, 2013 at 7:44 PM, shripad sinari 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 this work instead? #+NAME: foo #+BEGIN_SRC R :session :exports results :results output org replace :tangle yes print(list.files(recursive = T, pattern = "*.xls*")) #+END_SRC \scriptsize #+RESULTS: foo #+BEGIN_SRC org [1] "20130304 Some Spreadsheet/20130215 XXXXXXXXXXX_CB edited for sample classification.xls" [2] "20130304 Some Spreadsheet/20130215 XXXXXXXXXXX_CB edited for sample classification.xls" [4] "20130304 Some Spreadsheets/20130215 XXXXXXXXXXXXXXXX samples results final.xlsx" [5] "20130304 Some Spreadsheets/20130215 XXXXXXXXXXXXXXXX results final_formatted.xlsx" [6] "20130304 Some Spreadsheets/20130304 XXXXXXXXXXXXXXXX samples results 121109_Rep Aliqs Highlighted.xlsx" #+END_SRC \normalsize I learned just yesterday that the 'naming code blocks' trick is very handy for things like this. Here is halfway through the thread where this was discussed: http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg01268.html See also John Hendy's comments later in the thread. I hope this helps, -- Jay