[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] controling width of graphviz source block result
From: |
Nicolas Goaziou |
Subject: |
Re: [O] controling width of graphviz source block result |
Date: |
Sat, 14 Jun 2014 13:54:56 +0200 |
Hello,
regcl <address@hidden> writes:
> Thank you for your earlier comments. In order to adjust the scaling of
> a graphic generated by a R source block I am doing this ...
>
> ** adjusting scaling of a figure generated from source
> #+begin_src R :results graphics silent :file foo2.pdf :exports results
> plot(c(1:10), c(10:1))
> #+end_src
> #+attr_latex: :width .35\textwidth
> file:foo2.pdf
>
> While this does work, it is a wee bit unsatisfying to type "foo2.pdf""
> twice.
>
> Is there a better way to apply the latex keyword to the results?
I don't know what the current state of the art is, but I usually add
a name to the block, generate the result link, and add attributes above.
Regards,
--
Nicolas Goaziou