From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Question about org-beamer overlays Date: Sat, 12 Mar 2011 08:32:08 -0500 Message-ID: <87fwqsqxbb.fsf@fastmail.fm> References: <87vczsqfvf.fsf@fastmail.fm> <87tyfbp0em.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=43765 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PyOvW-0007O1-1T for emacs-orgmode@gnu.org; Sat, 12 Mar 2011 08:32:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PyOvT-0004Nk-Bc for emacs-orgmode@gnu.org; Sat, 12 Mar 2011 08:32:13 -0500 Received: from out5.smtp.messagingengine.com ([66.111.4.29]:44405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PyOvT-0004NI-69 for emacs-orgmode@gnu.org; Sat, 12 Mar 2011 08:32:11 -0500 In-Reply-To: <87tyfbp0em.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 10 Mar 2011 13:31:29 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: Org Mode Hi Eric, Eric S Fraga writes: > Matt Lundin writes: >> Any ideas how I might accomplish similar effects in org-beamer (without >> having too hack up the org file with too much LaTeX code)? > > The attached (with three different figures...) will do the job although > it does use latex for graphics statements unfortunately. It may be > possible to use the ATTR_LATEX feature to bring in the > specifications but I don't know how if so. I have to change the column > widths to fractions of \textwidth as that is the default. Again, it may > be possible to specify actual sizes but I don't know how. I prefer > fractions in any case as I don't have to worry about the actual "size" > then (and so works for posters as well!). > Thanks so much for your helpful examples. There is clearly a lot more to learn about org-beamer! > Start by having latex snippets where you need them until you figure out > how to do things natively in org. The nice thing about org is that you > can have pretty much as much latex as you want and it works just fine. > I used the babel approach in the attachment but I could have done: > *** right column :BMCOL:B_ignoreheading: > :PROPERTIES: > :BEAMER_col: 0.6 > :BEAMER_env: ignoreheading > :END: > > > #+begin_src latex > \includegraphics<1>[height=3in]{mip.png} % first slide only > \includegraphics<2>[height=3in]{sequence.png} % second slide only > \includegraphics<3>[height=3in]{test.png} % third slide only > #+end_src I discovered one org-mode solution here. I can use org-beamer-environments-extra to wrap an only macro around an image link. --8<---------------cut here---------------start------------->8--- (add-to-list 'org-beamer-environments-extra '("only" "o" "\\only%a{%h%x" "}")) --8<---------------cut here---------------end--------------->8--- A sequence of images in the same column can thus be accomplished with the following: --8<---------------cut here---------------start------------->8--- *** right column :BMCOL:B_ignoreheading: :PROPERTIES: :BEAMER_col: 0.6 :BEAMER_env: ignoreheading :END: **** [[file:image1.png]] :B_only: :PROPERTIES: :BEAMER_envargs: <1> :BEAMER_env: only :END: **** [[file:image2.jpg]] :B_only: :PROPERTIES: :BEAMER_envargs: <2> :BEAMER_env: only :END: **** [[file:image3.png]] :B_only: :PROPERTIES: :BEAMER_envargs: <3> :BEAMER_env: only :END: --8<---------------cut here---------------end--------------->8--- Thanks again! Matt