emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* latex newcommand in org
@ 2016-05-20 18:10 Doyley, Marvin M.
  0 siblings, 0 replies; 8+ messages in thread
From: Doyley, Marvin M. @ 2016-05-20 18:10 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

Hi there,

In my group, we typically response to reviewers comments (in 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]{\textcolor{red}{#1}}
then \response{BLAH BLAH} in the text. The only snag is that on export I get \response\{BLAH BLAH\}

Any suggestion how to fix this

cheers,
M












[-- Attachment #2: Type: text/html, Size: 2761 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-21 16:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4623b22355d94329a72b69bd254e036d@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-20 18:45 ` latex newcommand in org Eric S Fraga
2016-05-20 19:50   ` Marcin Borkowski
2016-05-20 20:37     ` Doyley, Marvin M.
2016-05-20 21:00     ` Leslie Watter
2016-05-20 23:45       ` Doyley, Marvin M.
     [not found]       ` <600dd6834d16428ba8a66f9bdd1b0f14@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-05-21 11:00         ` Eric S Fraga
2016-05-21 16:24           ` Marcin Borkowski
2016-05-20 18:10 Doyley, Marvin M.

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).