From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karsten Heymann Subject: Re: Re: [org-beamer] \alert Date: Wed, 03 Feb 2010 09:31:32 +0100 Message-ID: <87r5p290uz.fsf@ara.blue-cable.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ncafj-0005t9-HX for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 03:33:15 -0500 Received: from [140.186.70.92] (port=57189 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ncafe-0005sb-Nl for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 03:33:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ncafe-0006WU-0P for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 03:33:10 -0500 Received: from mx1-node01.blue-cable.net ([62.117.12.111]:58560) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ncafd-0006WO-QH for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 03:33:09 -0500 Received: from sponts-1.blue-cable.net ([172.16.20.83]) by mx1-node01.blue-cable.net with esmtp (Exim 4.67) (envelope-from ) id 1Ncafb-0003BM-5p for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 09:33:07 +0100 Received: from mx1-node01.blue-cable.net (mx1-node01.blue-cable.net [172.16.20.85]) by sponts-1.blue-cable.net (SPONTS v8.5.0.1212) with ESMTP id 112692F61A36-0 for ; Wed, 3 Feb 2010 03:33:07 -0500 Received: from ara.blue-cable.net ([172.16.19.209]) by mx1-node01.blue-cable.net with esmtp (Exim 4.67) (envelope-from ) id 1Ncafa-0003BB-SK for emacs-orgmode@gnu.org; Wed, 03 Feb 2010 09:33:06 +0100 In-Reply-To: <91C8F5F5-83A0-4041-B941-5DA51B3CD3C4@gmail.com> (Carsten Dominik's message of "Thu, 28 Jan 2010 18:58:38 +0100") 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: emacs-orgmode@gnu.org 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