emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rafael Calsaverini <rafael.calsaverini@gmail.com>
To: emacs-orgmode@gnu.org
Subject: The \only<> overlay in beamer
Date: Sat, 18 Sep 2010 15:15:00 -0300	[thread overview]
Message-ID: <AANLkTi=OoV86xJKt-KMA_01o42ixB926+NLbAD5_hH_L@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1556 bytes --]

Hi there.

I'm trying to use the \only<> command to produce a beamer presentation but
it seems that org-beamer filters out this. I've tried it in many different
ways, and didn't get the desired effect.

Particularly, I've tried the obviously wrong thing:
#+STARTUP:      beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [smaller, presentation]

* Foo
** Slide 1
\only<1> {
***  Block1     :B_block:
     :PROPERTIES:
     :BEAMER_env: block
     :END:
     - bla11
     - bla12
     - bla13
}
\only<2>{
***  Block2     :B_block:
     :PROPERTIES:
     :BEAMER_env: block
     :END:
     - bla21
     - bla22
     - bla23
}

Which obviously break-up. And I also tried what I believe would be a nice
syntax for this:

* Foo
** Slide 1
***  Block1    :B_block:
     :PROPERTIES:
     :BEAMER_envargs: \only<1>
     :BEAMER_env: block
     :END:
     - bla11
     - bla12
     - bla13

***  Block2     :B_block:
     :PROPERTIES:
     :BEAMER_envargs: \only<2>
     :BEAMER_env: block
     :END:
     - bla21
     - bla22
     - bla23

Apparently the parser just removes the "\only" and interprets this as <1>
and <2>. The resulting latex is exactly the same as if the "\only" wasn't
there.

Is there a way to use the "\only<>" overlay in a clean way?

Thank you very much.

---
Rafael Calsaverini
Dep. de Física Geral, Sala 336
Instituto de Física - Universidade de São Paulo

rafael.calsaverini@gmail.com
http://stoa.usp.br/calsaverini/weblog
CEL: (11) 7525-6222
USP: (11) 3091-6803

[-- Attachment #1.2: Type: text/html, Size: 2720 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2010-09-18 18:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-18 18:15 Rafael Calsaverini [this message]
2010-09-29 16:12 ` The \only<> overlay in beamer Carsten Dominik
2010-09-29 16:26   ` John Hendy
2010-09-29 16:21 ` Carsten Dominik

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='AANLkTi=OoV86xJKt-KMA_01o42ixB926+NLbAD5_hH_L@mail.gmail.com' \
    --to=rafael.calsaverini@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).