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

Hi Eric,

"Fraga, Eric" <e.fraga@ucl.ac.uk> writes:

> Yes, it is possible to use overlays in org beamer export.
>
> Depending on what you want to achieve, there are a number of ways to do
> this.  One way in to introduce LaTeX directives directly.  For instance,
>
> #+begin_src org
>   1. The first point
>   2. The second one @@latex:{\only<2->\checkmark}@@
>   3. the third point
> #+end_src
>
> There are also other examples in section 13.8.4 (Beamer specific syntax)
> in the info manual.

Thanks for the pointer (it's actually section 12.8.4 in my version of
Emacs/Org).  I now have

  #+LATEX_header: \newcommand{\mytick}{\color{green}{\tiny{(HPC-Kunden)}}}
  ...
     - Physik @@latex:{\only<2->\mytick}@@
     - @@latex:{\only<1>{Rechtswissenschaft}}@@ @@latex:{\only<2>{\color{red}{Rechtswissenschaft}}}@@

which does what I want.

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.

Cheers,

Loris
     
-- 
This signature is currently under construction.

  reply	other threads:[~2019-09-09  9: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 [this message]
2019-09-09 15:06     ` Fraga, Eric

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=87k1ah6dqd.fsf@hornfels.zedat.fu-berlin.de \
    --to=loris.bennett@fu-berlin.de \
    --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).