[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Controlling image width and placement in Beamer export
From: |
Jarmo Hurri |
Subject: |
Re: [O] Controlling image width and placement in Beamer export |
Date: |
Wed, 27 Nov 2013 08:28:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Greetings John.
John Hendy <address@hidden> writes:
> This comes up all the time.
Perhaps we could lower the frequency by making a small change to the
manual?
> The key is to put it 1) before results (as you've done) and 2) to use
> a named source block (with #+name: foo above your babel code) so that
> Org knows what the results block actually is. Otherwise, as you
> currently have it, if you re-run the babel block, you'll keep the
> results section you already have and it will spit out another one
> below it since it no longer recognizes that the babel block and
> current, modified results block go together.
Done. For some reason not doing 2) also worked correctly, but I agree
that it is still a good idea to name the blocks.
> Oh, and not that it matters, but I typically do:
> #+begin_center
> #+ATTR_LATEX: :width 5cm
> #+RESULTS:
> [[file:triangle.pdf]]
> #+end_center
Good point, thanks.
Jarmo