From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Beamer export with \only overlays - how? Date: Tue, 08 Oct 2013 23:41:36 +0800 Message-ID: <406f2400-303e-4b20-8009-c5e443834845@dewdrop-world.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTZQ6-0004nv-D3 for emacs-orgmode@gnu.org; Tue, 08 Oct 2013 11:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTZPx-0006H6-Vp for emacs-orgmode@gnu.org; Tue, 08 Oct 2013 11:41:58 -0400 Received: from mail-pa0-x230.google.com ([2607:f8b0:400e:c03::230]:52969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTZPx-0006Ex-OP for emacs-orgmode@gnu.org; Tue, 08 Oct 2013 11:41:49 -0400 Received: by mail-pa0-f48.google.com with SMTP id bj1so8867858pad.7 for ; Tue, 08 Oct 2013 08:41:48 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Question: How does one use Beamer's \only command with blocks? (Success= fully, with org-mode's beamer export, I mean.)=0A=0AI found in the manu= al that you can give an overlay specification using the BEAMER_ACT prop= erty... ok... but that's not the same as \only because, when a latex ch= unk 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.=0A= =0AHacking it with #+latex: lines is even worse, as explained in the ex= ample below.=0A=0AI suppose there must be a way to do it, albeit undocu= mented. 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 a= lternative.=0A=0Ahjh=0A=0A=0A#+LANGUAGE: en=0A#+OPTIONS: H:2 num:t t= oc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t ':t=0A#+OPTIONS: TeX:t La= TeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc=0A#+EXPORT_SELECT_T= AGS: export=0A#+EXPORT_EXCLUDE_TAGS: noexport=0A=0A#+startup: beamer=0A= #+LaTeX_CLASS: beamer=0A#+LaTeX_CLASS_OPTIONS: [presentation]=0A#+BEAME= R_THEME: default=0A#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(= Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt)=0A#+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=0A=0A* Section=0A** Frame (= beamer_act, not quite right)=0A*** The problem on this frame=0A I wa= nt Block 1 and Block 2 to occupy the same space on successive slides.=0A= *** Block 1 =09=09=09=09=09=09=09 :B_block:=0A :PROPERTIES:=0A = :BEAMER_env: block=0A :BEAMER_ACT: <1>=0A :END:=0A*** Block 2=09= =09=09=09=09=09=09 :B_block:=0A :PROPERTIES:=0A :BEAMER_env: b= lock=0A :BEAMER_ACT: <2>=0A :END:=0A=0A** Frame (using #+latex an= d \only)=0A*** This is a complete bloody hash.=0A There is no way to= make \verb|\only<2>| come after \verb|\end{block}|.=0A=0A#+latex: \onl= y<1> {=0A*** Block 1=0A=0A#+latex: } \only<2> {=0A*** Block 2=0A=0A#+la= tex: }=0A