emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Beamer export with \only overlays - how?
@ 2013-10-08 15:41 James Harkins
  2013-10-08 17:42 ` Suvayu Ali
  0 siblings, 1 reply; 5+ messages in thread
From: James Harkins @ 2013-10-08 15:41 UTC (permalink / raw)
  To: emacs-orgmode

Question: How does one use Beamer's \only command with blocks? (Successfully, with org-mode's beamer export, I mean.)

I found in the manual that you can give an overlay specification using the BEAMER_ACT property... ok... but that's not the same as \only because, when a latex chunk is marked \only<1>, it takes *no space* on <2->. Using <1> and <2> causes the <2> to appear lower than the <1>. That's not what I want.

Hacking it with #+latex: lines is even worse, as explained in the example below.

I suppose there must be a way to do it, albeit undocumented. Or maybe it's simply not supported, in which case I would have to write the LaTeX directly. Annoying, but I'll do that if there's no alternative.

hjh


#+LANGUAGE:  en
#+OPTIONS:   H:2 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t ':t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: default
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC

* Section
** Frame (beamer_act, not quite right)
*** The problem on this frame
    I want Block 1 and Block 2 to occupy the same space on successive slides.
*** Block 1 							    :B_block:
    :PROPERTIES:
    :BEAMER_env: block
    :BEAMER_ACT: <1>
    :END:
*** Block 2							    :B_block:
    :PROPERTIES:
    :BEAMER_env: block
    :BEAMER_ACT: <2>
    :END:

** Frame (using #+latex and \only)
*** This is a complete bloody hash.
    There is no way to make \verb|\only<2>| come after \verb|\end{block}|.

#+latex: \only<1> {
*** Block 1

#+latex: } \only<2> {
*** Block 2

#+latex: }


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-10  1:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-08 15:41 Beamer export with \only overlays - how? James Harkins
2013-10-08 17:42 ` Suvayu Ali
2013-10-09  2:28   ` James Harkins
2013-10-09  7:23     ` Suvayu Ali
2013-10-10  1:16       ` James Harkins

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).