all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Beamer export with \only overlays - how?
Date: Wed, 9 Oct 2013 09:23:28 +0200	[thread overview]
Message-ID: <20131009072328.GL2006@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <loom.20131009T041836-957@post.gmane.org>

On Wed, Oct 09, 2013 at 02:28:30AM +0000, James Harkins wrote:
> Suvayu Ali <fatkasuvayu+linux <at> gmail.com> writes:
> 
> > On Tue, Oct 08, 2013 at 11:41:36PM +0800, James Harkins wrote:
> > > 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.
> > > 
> > 
> > Did you try this:
> > 
> > <http://orgmode.org/worg/exporters/beamer/ox-beamer.html#environments-overlay>
> 
> My example file uses BEAMER_ACT, so yes, I did try that. Here's what happens
> if I try it with \only<1>.

Look a bit more carefully ;).  The following paragraph has an example
suggesting the onlyenv environment.  As far as I understand,
environments are prefered over commands with arguments or macros when
translating headlines.  You can nest your block in such an environment.
I realise this is a little less flexible than \only{}, but it seems to
work.  I have not tried any of this personally in a long time though.

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2013-10-09  7:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2013-10-10  1:16       ` James Harkins

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

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

  git send-email \
    --in-reply-to=20131009072328.GL2006@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.