emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: [org-beamer] \alert


From: Karsten Heymann
Subject: Re: [Orgmode] Re: [org-beamer] \alert
Date: Wed, 03 Feb 2010 09:31:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi,

i just catched up reading the org list, and I think I can contribute to
this:

Carsten Dominik <address@hidden> writes:
> Is there a LaTeX command that can figure out if it is running a beamer
> class?
> If yes, a possible solution would be to redefine \alert in LaTeX when
> not doing BEAMER.

The LaTeX Command \providecommand behaves exactly like \newcommand iff
the command does not already exist, so one (untested) solution would be

\providecommand{\alert}[1]{\emph{#1}}

I think this would be the cleanest way, but keep in mind that the
special <> beamer parameters are not supported by standard latex
command creation commands.

Yours
Karsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]