emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giuseppe Lipari <giulipari@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Overlay in beamer?
Date: Wed, 30 Apr 2014 14:27:41 +0200	[thread overview]
Message-ID: <CABHo5SC3txS3AD0s4DC1-Bsav1XZ+K-7ns8Hc5ar67j-h=V60Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2290 bytes --]

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}
    \includegraphics<1>[width=.7\textwidth]{figure1}
    \includegraphics<2>[width=.7\textwidth]{figure2}
    \includegraphics<3->[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

[-- Attachment #2: Type: text/html, Size: 3290 bytes --]

             reply	other threads:[~2014-04-30 12:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30 12:27 Giuseppe Lipari [this message]
2014-04-30 15:10 ` Overlay in beamer? Eric S Fraga
2014-04-30 16:31   ` Giuseppe Lipari
2014-04-30 17:00     ` Eric S Fraga
2014-05-07  9:09       ` Suvayu Ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABHo5SC3txS3AD0s4DC1-Bsav1XZ+K-7ns8Hc5ar67j-h=V60Q@mail.gmail.com' \
    --to=giulipari@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).