Re: [O] Overlay in beamer?
Hi Eric, On Wed, Apr 30, 2014 at 06:00:53PM +0100, Eric S Fraga wrote: What may not be easy or possible is to use the \only directive, which is what I used in my previous response to you. You can always use the only environment. https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L215 That said, I think overlays with only is not as smooth as with simple overlay specifications to regular environments or macros like \includegraphics, \item, etc. As for an :overlay specification, I believe it is already supported but only for lists (ox-beamer.el:725). I would love to have that for images too! Cheers, -- Suvayu Open source is the future. It sets us free.
[O] Overlay in beamer?
Dear list, I am having some trouble in using the beamer export. First of all, I have problems in finding documentation on the exporter on-line. Is there an up-to-date manual of this exporter, and the list of options? By searching for a solution to my problem, I found many different notation around the web (the wiki, stackoverflow, etc.) but I could not find a solution to my very simple problem. I have three images to show in my slide, one after the other (or one on top of the other). In Latex beamer, I can write something like: - begin-snippet- \begin{figure} \begin{center} \includegraphics1[width=.7\textwidth]{figure1} \includegraphics2[width=.7\textwidth]{figure2} \includegraphics3-[width=.7\textwidth]{figure3} \end{center} \end{figure} - end-snippet- and it works. How do I do the same in org-beamer? I tried several options, for example this one: - begin-snippet- #+ATTR_BEAMER: :overlay 1 [[ file:figure1 ]] #+ATTR_BEAMER: :overlay 2 [[ file:figure2 ]] #+ATTR_BEAMER: :overlay 3 [[ file:figure3 ]] - end-snippet- or - begin-snippet- *** :B_ignoreheading: :PROPERTIES: :BEAMER_env: ignoreheading :BEAMER_act: + :END: [[file:figure1]] [[file:figure2]] [[file:figure3]] - end-snippet- and several other combinations of blocks, properties and attributes, but the generated latex output is always more or less the same: - begin-snippet- \includegraphics[width=.9\linewidth]{figure1} \includegraphics[width=.9\linewidth]{figure2} \includegraphics[width=.9\linewidth]{figure3} - end-snippet- Can someone help me to understand how to put overlays on figures? I am using org-mode version 8.2.5h (pulled from the git repository about one month ago I guess) on Emacs 24.3.1 Thanks in advance, Giuseppe Lipari -- Giuseppe Lipari RETIS Lab, CEIIC Scuola Superiore Sant'Anna via Moruzzi, 1 56127 Pisa tel: 050 882030 fax: 050 882003 web: http://feanor.sssup.it/~lipari/ blogs: http://scacciamennule.blogspot.com http://okpanico,wordpress.com http://algoland.wordpress.com
Re: [O] Overlay in beamer?
[...] I tried several options, for example this one: - begin-snippet- #+ATTR_BEAMER: :overlay 1 [[ file:figure1 ]] [...] The following works for me: #+beamer: \only1{ [[file:figure1.png]] #+beamer: }\only2{ [[file:figure2.png]] #+beamer: }\only3-{ [[file:figures3.png]] #+beamer: } Not pretty but... HTH, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-923-g233c11
Re: [O] Overlay in beamer?
Dear Eric, thank you for your very fast answer! I solved by using directly latex code, but I will also consider your solution. Since overlays are very much used in beamer, I was just wondering if it would be easy (or even desirable) to add one more property to ATTR_LATEX (or ATTR_BEAMER), so to specify overlays for figures ... something like #+ATTR_BEAMER: :overlay 1- (Was it available before? I just found this old thread: http://stackoverflow.com/questions/6974560/how-do-i-use-overlay-specifications-for-lists-in-org-modes-beamer-export-featur ) Thanks again, Giuseppe Lipari 2014-04-30 17:10 GMT+02:00 Eric S Fraga e.fr...@ucl.ac.uk: [...] I tried several options, for example this one: - begin-snippet- #+ATTR_BEAMER: :overlay 1 [[ file:figure1 ]] [...] The following works for me: #+beamer: \only1{ [[file:figure1.png]] #+beamer: }\only2{ [[file:figure2.png]] #+beamer: }\only3-{ [[file:figures3.png]] #+beamer: } Not pretty but... HTH, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-923-g233c11 -- Giuseppe Lipari RETIS Lab, CEIIC Scuola Superiore Sant'Anna via Moruzzi, 1 56127 Pisa tel: 050 882030 fax: 050 882003 web: http://feanor.sssup.it/~lipari/ blogs: http://scacciamennule.blogspot.com http://okpanico,wordpress.com http://algoland.wordpress.com
Re: [O] Overlay in beamer?
On Wednesday, 30 Apr 2014 at 18:31, Giuseppe Lipari wrote: Since overlays are very much used in beamer, I was just wondering if it would be easy (or even desirable) to add one more property to ATTR_LATEX (or ATTR_BEAMER), so to specify overlays for figures ... something like There is the BEAMER_ACT property that can be used to apply overlay information on blocks but I don't think it's possible on individual figures. Of course, you could put each figure in a separate block. The following/attached will match what you had originally. #+options: H:1 * The slide ** figure 1 :PROPERTIES: :beamer_act: 1 :END: [[file:chromosome.png]] ** figure 2 :PROPERTIES: :beamer_act: 2 :END: [[file:diagram.png]] ** figure 3 :PROPERTIES: :beamer_act: 3- :END: [[file:equation1.png]] What may not be easy or possible is to use the \only directive, which is what I used in my previous response to you. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-923-g233c11