From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: [org-beamer] \alert Date: Wed, 3 Feb 2010 11:21:44 +0100 Message-ID: References: <871vhffhf8.fsf@gmx.ch> <87pr4y1me5.wl%ucecesf@ucl.ac.uk> <877hr4zz0s.fsf@mundaneum.com> <87k4v4omyk.wl%ucecesf@ucl.ac.uk> <91C8F5F5-83A0-4041-B941-5DA51B3CD3C4@gmail.com> <87r5p290uz.fsf@ara.blue-cable.net> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NccMp-0007ef-K8 for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 05:21:51 -0500 Received: from [199.232.76.173] (port=36827 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NccMo-0007e7-Qw for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 05:21:50 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NccMn-0008OW-Te for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 05:21:50 -0500 Received: from mail-ew0-f228.google.com ([209.85.219.228]:60566) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NccMm-0008Nh-B5 for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 05:21:48 -0500 Received: by ewy28 with SMTP id 28so1167705ewy.8 for ; Wed, 03 Feb 2010 02:21:47 -0800 (PST) In-Reply-To: <87r5p290uz.fsf@ara.blue-cable.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Karsten Heymann Cc: emacs-orgmode@gnu.org This is also a very nice solution, thank you, I will be using it. - Carsten On Feb 3, 2010, at 9:31 AM, Karsten Heymann wrote: > Hi, > > i just catched up reading the org list, and I think I can contribute > to > this: > > Carsten Dominik 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 > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten