[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
:PROPERTIES:
:EXPORT_FILE_NAME: subfigures.tex
:EXPORT_OPTIONS: toc:nil
:EXPORT_LATEX_HEADER: \usepackage{subfig}
:END:
,#+macro: subfig @@latex:
\subfloat[$1]{\includegraphics[width=0.49\linewidth]{$2}}@@
,#+name: sub1
,#+begin_src R :exports results :results graphics :file fig1.png
plot(0:1,0:1)
text(0.5,0.5,"Fig 1")
,#+end_src
,#+name: sub2
,#+begin_src R :exports results :results graphics :file fig2.png
plot(0:1,0:1)
text(0.5,0.5,"Fig 2")
,#+end_src
,#+begin_figure
@@latex: {\centering@@
{{{subfig(First,fig1)}}}
{{{subfig(Second,fig2)}}}
@@latex: }@@
,#+end_figure
#+end_src
- Re: [PATCH] ob-R output file with graphics parameter, Jack Kamm, 2021/07/03
- Re: [PATCH] ob-R output file with graphics parameter, Timothy, 2021/07/03
- Re: [PATCH] ob-R output file with graphics parameter, Jeremie Juste, 2021/07/03
- Re: [PATCH] ob-R output file with graphics parameter, Berry, Charles, 2021/07/03
- Re: [PATCH] ob-R output file with graphics parameter, Jack Kamm, 2021/07/03
- Re: [PATCH] ob-R output file with graphics parameter, Jack Kamm, 2021/07/06
- Re: [PATCH] ob-R output file with graphics parameter, Berry, Charles, 2021/07/06
- Re: [PATCH] ob-R output file with graphics parameter, Jack Kamm, 2021/07/06
- Re: [PATCH] ob-R output file with graphics parameter,
Berry, Charles <=
- Re: [PATCH] ob-R output file with graphics parameter, Jeremie Juste, 2021/07/10
- Re: [PATCH] ob-R output file with graphics parameter, Jack Kamm, 2021/07/10
- Re: [PATCH] ob-R output file with graphics parameter, Berry, Charles, 2021/07/10