emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: Loris Bennett <loris.bennett@fu-berlin.de>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Make beamer items ticked or alerted via overlay?
Date: Mon, 9 Sep 2019 15:06:52 +0000	[thread overview]
Message-ID: <xuu6r24pse47.fsf@ucl.ac.uk> (raw)
In-Reply-To: 87k1ah6dqd.fsf@hornfels.zedat.fu-berlin.de

On Monday,  9 Sep 2019 at 11:06, Loris Bennett wrote:

[...]

> I was wondering, however, whether there is a more compact way to do the
> second line, i.e. without having to repeat the text for which I want to
> change the colour.

This is really more of a LaTeX question.  In any case, I would do
something like this:

#+begin_src org
  ,#+options: H:1
  ,* slide
  - first
  - @@latex:\alert<3->{\only<2->{@@second@@latex:}}@@
#+end_src

You could invert the order of only and alert in that line.

And, if you do this a lot, you might wish to start looking at org macros to make it easier and cleaner/prettier.

HTH,
eric
-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-420-ga18edf

      reply	other threads:[~2019-09-09 15:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-05 14:54 Make beamer items ticked or alerted via overlay? Loris Bennett
2019-09-06  7:11 ` Fraga, Eric
2019-09-09  9:06   ` Loris Bennett
2019-09-09 15:06     ` Fraga, Eric [this message]

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=xuu6r24pse47.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    /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).