[Top][All Lists]

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

Re: [PATCH] ob-R output file with graphics parameter

From: Berry, Charles
Subject: Re: [PATCH] ob-R output file with graphics parameter
Date: Tue, 6 Jul 2021 21:43:15 +0000

> On Jul 6, 2021, at 12:20 PM, Jack Kamm <jackkamm@gmail.com> wrote:
> Hi Chuck,
>> Here is an ECM that when exported with `C-c C-e l o y y` (or 'yes RET' for 
>> each `y' depending on your setup)
> I don't see the example on your last email, could you try re-attaching
> it?
> Thanks,
> Jack

Mea culpa.

#+begin_src org

  ,* subfig ECM
  :EXPORT_FILE_NAME: subfigures.tex
  :EXPORT_OPTIONS: toc:nil
  :EXPORT_LATEX_HEADER: \usepackage{subfig}

  ,#+macro: subfig @@latex: 

  ,#+name: sub1
  ,#+begin_src R :exports results :results graphics :file fig1.png
    text(0.5,0.5,"Fig 1")

  ,#+name: sub2
  ,#+begin_src R :exports results :results graphics  :file fig2.png
    text(0.5,0.5,"Fig 2")

  @@latex: {\centering@@
  @@latex: }@@

reply via email to

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