From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Doyley, Marvin M." Subject: latex newcommand in org Date: Fri, 20 May 2016 18:10:47 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_F3C0837858C64C6BBB0C8827BC1F1AEAurrochesteredu_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3osx-0004uL-Ef for emacs-orgmode@gnu.org; Fri, 20 May 2016 14:10:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3ost-0000GZ-Nv for emacs-orgmode@gnu.org; Fri, 20 May 2016 14:10:55 -0400 Received: from mail-bn1on0141.outbound.protection.outlook.com ([157.56.110.141]:39099 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3ost-0000Dy-Eg for emacs-orgmode@gnu.org; Fri, 20 May 2016 14:10:51 -0400 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" --_000_F3C0837858C64C6BBB0C8827BC1F1AEAurrochesteredu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi there, In my group, we typically response to reviewers comments (in latex) by firs= t defining the following command in the header \newcommand{\response}[1]{\textcolor{red}{#1}} then marking up the text as follows \response{red text} I try to do the same in org, i.e., putting #+latex_header:\newcommand{\response}[1]{\textcolor{red}{#1}} then \response{BLAH BLAH} in the text. The only snag is that on export I ge= t \response\{BLAH BLAH\} Any suggestion how to fix this cheers, M --_000_F3C0837858C64C6BBB0C8827BC1F1AEAurrochesteredu_ Content-Type: text/html; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable Hi there,

In my group, we typically response to reviewers comments (i= n latex) by first defining the  following command in the header

\newcommand{\response}[1]{\textcolor{red}{#1}}
then marking up the text as follows

\response{red text}

I try to do the same in org,  i.e., putting 
 #+latex_header:\newcommand{\response}[1]{\textcol= or{red}{#1}}
then \response{BLAH BLAH} in the text. The only snag is tha= t on export I get \response\{BLAH BLAH\}

Any suggestion how to fix this

cheers,
M











--_000_F3C0837858C64C6BBB0C8827BC1F1AEAurrochesteredu_--